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

SendMail.CreateEmail

Creates a new email.

Component Version macOS Windows Linux Server iOS SDK
SendMail 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SendMail.CreateEmail" { ; Encoding } )   More

Parameters

Parameter Description Example Flags
Encoding The text encoding to use for the email. If unspecified we use "UTF-8".
Can be UTF-8, macintosh, windows-1250, windows-1251, windows-1252, windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9 or ISO-8859-15.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"UTF-8" Optional

Result

Returns Email ID or error.

Description

Creates a new email.
The reference number returned by this function can be passed to other plugin functions for setting up the email.
Later use SendMail.Release to free memory.
SendMail reference numbers are starting at 14000 and counting up for each new email.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 3th September 2014, last changed 12nd November 2015


SendMail.ClearRecipients - SendMail.GetHTMLText