Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

MailComposer.SetSubject

Sets the Subject header for the email message.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MailComposer 7.3 No No No No Yes

MBS( "MailComposer.SetSubject"; Subject )

Parameters

Parameter Description Example value
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


MailComposer.SetScript   -   MailComposer.SetTORecipients

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos