@MailSavePreference (Formula Language)

Indicates which option the user has selected for the "Save sent mail" setting in the User Preferences dialog box.

Syntax

@MailSavePreference

Return value

flag

Integer

  • Returns 0 if "Don't keep a copy" is selected
  • Returns 1 if "Always keep a copy" is selected
  • Returns 2 if "Always prompt" is selected

Usage

@MailSavePreference is used in the Mail template to determine whether to save copies of outgoing memos. This function is not available in column formulas, selection formulas, or selective replication formulas.

You cannot use this function in Web applications.

Examples

You design your own Mail form. To determine whether outgoing memos should be automatically saved, use @MailSavePreference to determine the user's preference. This returns 2 if the "Save sent mail" list has "Always prompt" selected, 1 if the "Save sent mail" list has "Always keep a copy" selected, and 0 if the "Save sent mail" list has "Don't keep a copy" selected.
@MailSavePreference