COMMAND
Lotus Notes
SYSTEMS AFFECTED
Domino Server 5.x, 4.6x, 4.5.7, 4.5.6, Notes Client 5.x, 4.6x, 4.5.7, 4.5.6
PROBLEM
Jon Wallwork posted following. This text is taken from Lotus
Technote No 177362.
It has been found that Notes crashes when running a Simple Action
agent that uses the Send Mail Message action and the "Include Copy
of Document" option. If you are running the agent manually from a
Notes client, the agent may crash right away or shortly after the
agent completed. When it crashes the Notes client, the crash will
occur in nlnotes.exe. If you are running the agent as a scheduled
agent on a server, you may see the following error:
"OLEMAINTHREAD WNDNAME: namgr.exe - Application Error."
This agent functioned as expected prior to 1/1/2000, but it has
been crashing since the clock changed over to the year 2000.
The problem occur with one of the default letterhead which is
very ugly and no one would think to use that one. In addition,
there is a very simple workaround mentioned in the Technote, i.e.
modifying the text field to a date field and update the mail
template. Of course, if you create something of your own, it is
possible that you can be hit by this problem. But the impact is
minimal.
Steps to recreate this issue. The first four steps should be done
while running a Notes 4.6x client. To reproduce the crash, the
last two steps can be executed from either Notes 4.6x or Notes
5.x:
1. Create a Mail file based on the Notes 4.6 mail template
2. In the Mail file, set the Letterhead to the 'Gray Gradient
with Lines' by selecting Actions, Mail Tools, Choose
Letterhead, select 'Gray Gradient with Lines' from the
Notes menu.
3. Create a Mail memo, and save it as a draft memo as follows:
a. From the menu select Create, Memo.
b. Set the "Send To" field to any user.
c. Enter "Test1" as the Subject.
d. Click on the action "Save as Draft".
4. Create an agent that will send the message as follows:
a. Name the agent "Simple Action Send".
b. Set the agent to run "Manually from Action Menu".
c. Set the agent to act on "Selected Documents".
d. Click the "Add Action" button to add the Simple Action.
e. For the Action select "Send Mail Message".
f. Set the "To" field to your own name (or the appropriate test name).
g. Enable the "Include Copy of Document" option.
h. Save the agent.
5. Open the 'Drafts' folder and select the memo created in
Step 3.
6. Run the agent by selecting Actions, Simple Action Send from
the Notes menu.
SOLUTION
This issue will be addressed in a Quarterly Maintenance Update
(QMU). The issue occurs in cases where the included document's
Form contains a Text field that is being populated by a date
value, for example: @Created. This issue can occur if the date
value in the Text field is prior to 1950 or any year after 1999,
not just for the year 2000. The issue does not occur in all Forms
that have a Text field set to a date. To avoid the crash, use one
of the following workarounds:
1. Change the type of the Text field to Time.
2. Make sure the value returned by the formula is a text value
by using the @Text function in the formula for this Text
field.
This issue can be seen when the included document is from users
who use the "Gray Gradient with Lines" letterhead in their mail
files. Take the following steps to correct this letterhead:
1. Select Subforms in the list of design elements in the mail
file.
2. Edit the subform called "Gray Gradient and Lines." Change
the field "tmpDate" to type Time.