To build mailing options into a form, create fields that have reserved names in Designer. When you create a field with one of these reserved names, built-in programming takes care of the task for you. The fields can be text or choice list fields that use predefined values.
For information on text fields, see the topic Text and rich text fields.
For information on choice list fields, see the topic Creating fields to display lists of choices.
For information on editable and computed fields, see the topic Editable and computed fields.
For information about mail-enabling forms, see the topic Features that support automatic mailing.
Table of fields that control mailing options
B = both text and encapsulated.
E = encapsulated in a Notes database, which is attached to the cc:Mail memo.
M = mail. Body field of document is text and pasted into cc:Mail memo.
T = text. Contents of the document are rendered as text and pasted into the body of the cc:Mail memo.
For more information on using LotusScript, see the Domino Designer Programming Guide.
Interactions with the Mail Send dialog box
The MailOptions field with a value of 1 overrides the user's choices in the Mail Send dialog box if the form is set to enable optional mailing. With a MailOptions field set to 1, users can click Yes to save the document, No to close without saving, or Cancel to return to the document.
The Sign, Encrypt, and SaveOptions fields with values of 1 override the property "On Close: Present mail send dialog" in the Form Properties box, but they do not actually change what is displayed to users in the Mail Send dialog box.
Interactions with the Document Save dialog box
The values in SaveOptions, Sign, and Encrypt fields override the user's settings in the Document Save dialog box.
A computed MailFormat field can have one of the following values:
The "Allow multi-values" and "Allow values not in list" are useful for SendTo fields.