Reserved fields that control mailing options
To build mailing options into a form, create fields that have reserved names in Domino® 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
Reserved Field name |
Values |
Comments |
---|---|---|
BlindCopyTo |
The name(s) of a person, group, or mail-in database. |
|
CopyTo |
The name(s) of a person, group, or mail-in database. |
|
DeliveryPriority |
L, N, H |
Values correspond to: Low, normal, or high-priority. |
DeliveryReport |
N, B, C, T |
Values correspond to: None, Only on failure, Confirm delivery, Trace entire path |
Encrypt |
1, 0 |
Use 1 to encrypt mailed documents. |
MailFormat |
B, E, M, T |
Enables cc:Mail users to view Notes® documents in a variety of predefined formats: 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. |
MailOptions |
1, 0 |
Use 1 for automatic mailing. |
ReturnReceipt |
1, 0 |
Use 1 to send a receipt when document is opened by the recipient. |
SaveOptions |
1, 0 |
Use 1 to save mailed documents. Use 0so that the document is not saved when mailed. prevent the document from being saved. |
SendTo |
The name(s) of a person, group, or mail-in database. |
Required for all forms that mail documents. |
Sign |
1, 0 |
Use 1 to an add electronic signature to fields. (Only applicable if a form also contains sign-enabled fields.) |
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.
MailFormat
A computed MailFormat field can have one of the following values:
Value |
Description |
---|---|
Encapsulated (E) |
The document is encapsulated in a database, which is attached to the cc:Mail memo. The cc:Mail recipient must have the IBM® Lotu Notes® client installed on the workstation. This preserves the document exactly as it looks in Notes®. To read the document, the cc:Mail user double-clicks the icon representing the attached database; this launches Notes® and opens the database. Use this format only if information will be lost if the document were to be converted to Text or Memo format. The Encapsulated format creates larger documents, so it uses more server disk space. To ensure that the document is displayed correctly when a cc:Mail recipient starts Notes®, assign the form property "Store form in document" in the Form Properties box. |
Text (Text) |
The contents of the document are rendered as text and pasted into the body of the cc:Mail memo. The cc:Mail recipient can read the document without using Notes®. Since the document is rendered as text, you do not need to store the form in the document. |
Both (B) |
The document is both rendered as text and encapsulated in a database. This ensures that cc:Mail recipients can read the document even if they do not use Notes®. |
Mail (M) |
The Body field of the document is rendered as text and pasted into the cc:Mail memo. Use this format only with documents that were created using a form that contains a field named Body. |
MailOptions
The MailOptions field with a value of 1 overrides the property "On Close: Present mail send dialog" in the Form Properties box. 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. To add the mail signing and encryption options, create editable keywords fields named Sign and Encrypt.
SendTo
The "Allow multi-values" and "Allow values not in list" are useful for SendTo fields.