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  

SendMail.CreateEmail

Creates a new email.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SendMail 4.3 Yes Yes Yes Yes Yes

MBS( "SendMail.CreateEmail" { ; Encoding } )

Parameters

Parameter Description Example value
Encoding Optional
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.
"UTF-8"

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


SendMail.ClearRecipients   -   SendMail.GetHTMLText

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins