Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0    Statistic    FMM    Blog  


Sets the subject line.

Component Version macOS Windows Linux Server iOS SDK
SendMail 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SendMail.SetSubject"; EmailID; Text )   More


Parameter Description Example
EmailID The email reference number obtained using SendMail.CreateEmail function. $EmailID
Text The new subject line. "Hello World"


Returns OK or error.


Sets the subject line.
If subject lines contains special characters, it is automatically encoded as UTF-8.


Set subject line:

MBS( "SendMail.SetSubject"; $Email; "Hello World" )

See also

Example Databases

Blog Entries

Created 3th September 2014, last changed 24th February 2018

SendMail.SetSMTPUserName - SendMail.Sign

Feedback: Report problem or ask question.

Start Chat