Aus der KBase:
No Mail Delivered When Using @MailSend with [IncludeDocLink] in R4/R5 Agents
Problem:
Scheduled agents that utilize @MailSend with the [IncludeDocLink] parameter do not work correctly in Notes R4 and R5. The agent runs, but no mail is delivered. This is a change from Notes Release 3.x, where the same background macro ran and delivered mail correctly. Why does this occur, and is there a workaround?
Solution:
There are several reasons why this issue may occur:
1. There is no default view present in the database.
2. The view being used is a Private view stored in the Desktop.
3. The formula or action is trying to either include a link to the document OR include a copy of the document.
Each reason is detailed below.
1. There is no default view present in the database.
Designate one of the views in the database as the default by enabling the view property, 'Default when database is first opened'. Once this change is made, the @MailSend will work both with and without the [IncludeDocLink] parameter.
Lotus Quality Engineering is aware of the change in functionality (#CMUY397UER). It will not be addressed in R4.
Note: This issue also applies to the Simple Action "Send Mail Message" with the "Include Document Link" option checked; however, the Agent Log (viewed by highlighting the agent and selecting Agent, Log) will have the error message "ERROR: Special database object cannot be located". Specifying a default view for the database resolves the issue. This issue has been reported to Lotus Quality Engineering (spr #ASHW4U7U4P). This error message is not accurate since the problem with the database is that there is no default view. This issue has been reported to Lotus Quality Engineering (#WGN325JBR).