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

SendMail.SetFrom

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

Parameters

Parameter Description Example Flags
EmailID The email reference number obtained using SendMail.CreateEmail function. $EmailID
Email The email address of the sender. "test@mbsplugins.de"
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

Result

Returns OK or error.

Description

Sets the email from address.

Examples

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

This function checks for a license.

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


SendMail.ReleaseAll - SendMail.SetHTMLText