Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MailComposer.SetSubject

Sets the Subject header for the email message.

Component Version macOS Windows Linux Server iOS SDK
MailComposer 7.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "MailComposer.SetSubject"; Subject )   More

Parameters

Parameter Description Example
Subject The new subject. "Hello World"

Result

Returns OK or error.

Description

Sets the Subject header for the email message.
This method will set the Subject header for the email message. This should be called prior to display.
Newlines are removed from the parameter.
After the view has been presented to the user, this method will no longer change the value.

Examples

Start a new email:

Set Variable [ $r ; Value: MBS( "MailComposer.New" ) ]
Set Variable [ $r ; Value: MBS( "MailComposer.SetSubject"; PlaceHolder::Subject ) ]

See also

Example Databases

This function is free to use.

Created 10th June 2017, last changed 10th June 2017


MailComposer.SetScript - MailComposer.SetTORecipients