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 email from address.

Component Version macOS Windows Linux Server iOS SDK
SendMail 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SendMail.SetFrom"; EmailID; Email { ; Name } )   More


Parameter Description Example Flags
EmailID The email reference number obtained using SendMail.CreateEmail function. $EmailID
Email The email address of the sender. ""
Name Optional the name of the sender.
If this name contains special characters, it will be automatically encoded with UTF-8.
Do not put an email address here!
"John Miller" Optional


Returns OK or error.


Sets the email from address.


Create email and set sender:

Set Variable [$EmailID; Value:MBS("SendMail.CreateEmail")]
Set Variable [$r; Value:MBS("SendMail.SetFrom"; $EmailID; "Jens@mbsplugins.test"; "Jens Müller")]

See also

Example Databases

Blog Entries

Created 3th September 2014, last changed 4th October 2017

SendMail.ReleaseAll - SendMail.SetHTMLText

Feedback: Report problem or ask question.

Start Chat