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
- SendMail.PrepareCURL
- SendMail.Release
- SendMail.SetFrom
- SendMail.SetHTMLText
- SendMail.SetInReplyTo
- SendMail.SetRichText
- SendMail.SetSMTPPassword
- SendMail.SetSMTPServer
- SendMail.SetSMTPUserName
- SendMail.Sign
Example Databases
- CURL/Email/Batch Emailer
- CURL/Email/Build and send Email
- CURL/Email/Build and send HTML Email with inline graphics
- CURL/Email/Office 365 oAuth SMTP
Blog Entries
- Compress and Send
- MBS Plugin Advent calendar: 21 - SendMail
- SMTP with OAuth for Office 365 in FileMaker
- Sending email with a huge custom function
- Use Inline Graphics in Emails
- Email Script for FileMaker
- Sending emails in FileMaker with MBS Plugin
- MBS Filemaker Plugin, version 4.4pr10
- MBS Filemaker Plugin, version 4.4pr9
- Sending Email with FileMaker via MBS Plugin
FileMaker Magazin
This function checks for a license.
Created 3th September 2014, last changed 12nd November 2015