FORMULA LANGUAGE

@MailSend
Example

There are two ways to use @MailSend:


Syntax

@MailSend
@MailSend(
sendTo ; copyTo ; blindCopyTo ; subject ; remark ; bodyFields ; [ flags ] )

Parameters

sendTo


copyTo
blindCopyTo
subject
remark
bodyFields
[ flags ]
Usage

Use @MailSend in agents, form actions, form events, view actions, view events, and toolbar buttons. @MailSend is especially useful with scheduled agents as a means of sending mail at a predetermined interval; for example, to send reminders about a departmental meeting. One view from the database must be selected as the Default when database is first opened for the scheduled agent to work correctly. This function does not work in column, selection, hide-when, or window title formulas.

If the user's notes.ini file includes the statement

NoExternalApps=1

then any formula involving @MailSend is disabled. The user doesn't see an error message; the formula fails to execute.

Sending rich text fields

You can specify a rich text field as one of the bodyfields in an agent formula only.

Mail-related fields in a document

When you use @MailSend with no parameters, the current document may contain one or more mail­related fields; if it does, those fields are used when routing the document.


Language cross-reference

Send method of LotusScript NotesDocument class

Send method of LotusScript NotesUIDocument class

send method of Java Document class

Example
See Also