Скриптом создается письмо в формате MIME, надо прикрепить файлы как обычные атачметы. Подскажите как это сделать.
Добавление еще одного поля Body_1 не подходит, т.к. в этом случае почтовики типа mail.ru не показывают файлы вложенные в это поле.
It's easy to add your signature to e-mails, but what if you use different signatures for different types of e-mails? For example, you may have different signatures for internal and external communicat
CAN LOTUS QUICKR REPLACE DOMINO.DOC? IT DEPENDS... Download the new "5 perspectives for Domino.doc migration" whitepaper, register for the webinar, or benchmark yourself against other Domino.doc users to find out what's right for you.
This is a new article on the Lotus Expeditor Wiki, covering how to get started using Expeditor Toolkit for application development in Notes 8.5.1. There's a link to another article on using Expeditor Toolkit 6.2 with Notes 8.5.
There's a bug when sending and retrieving HTML email from Domino that has been plaguing me for years now. Now I've finally decided to take the time to investigate fully and find a fix.
First, imagine the code below:
While i<100 j = 0 html =""While j<i html = html + "split string " j=j+1 WendSet mail = New Email() mail.Subject = "Test " + CStr(i) mail.HTML = html mail.Send("jake howlett") i=i+5Wend
What this does is send me 20 test emails. Each email is increasingly longer than the one before it and they all just repeat the words "split string" over and over.
The code to send the email is based on my Email class. All it does is create a multi-part MIME message. Nothing out of the ordinary. If you're using the MIME classes to send emails then this probably applies to you.
At some point in the loop the length of the message will get to such a size that something very worrying happens, as you can see below:
Notice the missing p?!
The Problem
From my investigations I've concluded the following:
If you use a 3rd party mail client (like Thunderbird) to download a multi-part HTML email from a mail file on a Domino server using POP3 then the POP3 server will remove the 655th character and put a line break in its place.
Looking at the very same email in the original mail file - using the Notes client - there's no missing character.
What I've also noticed is that it only removes the first 655th char. Not every subsequent 655th char in the whole string.
Obviously this can be very, very bad. At it's least worst, like in this example, it just looks like a typo. However, I've had numerous bug reports because it's broken the string inside an HTML tag, resulting in un-clickable links or -worse still - emails that just show raw HTML.
The problem seems only to occur when sending emails where the HTML content is made up of one very long string. I guess using very long strings is generally a bad idea in any case, but there's nothing actually wrong with it, and nothing half as wrong as the server removing characters.
The Solution
What we need to do is avoid very long lines of HTML code in the email. The obvious solution is to add line breaks in the HTML as you build it in your code.
Unfortunately, in my case, I have way too many instances of code sending HTML email to make it practical to go and add new line breaks in to each email. Instead, what I did was put a fail-safe in to the Email class which sends the email. At the point it adds the HTML to the email it adds a new line at every point an HTML tag is closed, like so:
There's still a slight chance that there could be a long string that avoids this rule, but it's unlikely enough for me to feel happy this has resolved the issue for now.
Summary
So, you've been warned. If you're sending HTML emails to a Domino server, make sure you split the HTML string down in to sizeable chunks so that users who access their email via POP3 don't see broken HTML.
It all leaves me wondering why on earth the POP3 server would replace the 655th character in the first place. Assuming it does of course. My investigation wasn't exactly extensive but, from what I can tell, it definitely looks like it does. Why though? What's significant about 655? It's not like it's a base 2 number or anything.
Each idea on an ideaspace shows the net promotions for the idea (promotions minus demotions). It would be great to have the total net promotions for an ideaspace available as a statistic. Currently there's a total votes statistic only.
Tags on the side bar should be enabled (or at least have as an option) to include all ideas within the repository - and not automatically be filtered by status. In order to show full ideation and inspire more ideas, it is important to have it be comprehensive, even with those ideas that have been completed and rejected.
We've updated the mobile
web site with the ability to navigate
to more blog entries than just the last 10 via a 'more' button. You can download the code here
and go to the project
to post defects and requests. For both view paging and to open ...
I would like to be able to add a public comment to my calendar entries, so that people trying to schedule a meeting with me could hover over my availability to see additional details, rather than just whether I am available/unavailable (but less than if I shared the full calendar details).
For example, there are times where my calendar will look completely blocked for 3 days straight because I'm attending a conference (but may be able to squeeze in important meetings around sessions or in the mornings/evenings), while other times it will be completely blocked for 3 days straight because I'm on vacation (in which case I'd like other people to know that they need to wait for me to get back or contact my backup for urgent meetings).
In the Notes 8.x Standard client, the twistie icons for section titles are almost invisible for certain section border styles (Gradient, Tab Diagonal, etc.).
In the Notes 6.5 client, the twisties were displayed to the left of the section title with the same color as the border color for the default style. For the Gradient and Tab Diagonal styles (see attached screenshot), the twisties were displayed with the same color as the section title text, contrasted by the border color as the background.
In the Notes 8.x Standard client, the twisties are displayed in the same manner as Notes 6.5 for the default border style (displayed to the left of the section title with the same color as the border color). However, for the Gradient and Tab Diagonal styles (see attached screenshot), the twisties are displayed with the same color as the border color (not the text color, an in Notes 6.5). This makes the twistie icon invisible, with the the exception of a thin shadow line for 3D rendering.
This white paper provides a comprehensive overview of how to administer IBM Lotus Domino, explaining the fundamental components and terminology so that new administrators can feel familiar with the product. Specifically, we explain key features and functionalities such as the Notes.ini file, the Data Directory, IDs, server commands and documents, and server activities. Also included are discussions of server maintenance and NSDs.
Get started using IBM® Lotus® Expeditor Toolkit for development of applications for IBM Lotus Notes® 8.5.1. Learn which installation options to select, how to configure the toolkit, how to include the Notes.jar, and how to launch a sample application on your target environment. ...
Pierre Carlson has posted another excellent article in the [[http://www-10.lotus.com/ldd/lewiki.nsf|Lotus Expeditor wiki]] about creating application plug-ins for Notes clients. The article, ...