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: 10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    Statistic    FMM    Blog  

WinSendMail.AddRecipient

Adds a recipient.

Component Version macOS Windows Linux Server iOS SDK
WinSendMail 7.1 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WinSendMail.AddRecipient"; WinSendMailRef; Type; Email; Name )   More

Parameters

Parameter Description Example
WinSendMailRef The email reference number obtained using WinSendMai.CreateEmail function. $Email
Type The type of recipient. Can be TO, BCC, CC or ReplyTo. "CC"
Email The email address of the recipient. "SMTP:test@mbsplugins.de"
Name The name of the recipient.
Not optional when using MAPI with Outlook.
"John Miller"

Result

Returns OK or error.

Description

Adds a recipient.
This function can be used easily if the type is also a field in your database.
As an alternative you can of course also use WinSendMail.AddTo, WinSendMail.AddReplyTo, WinSendMail.AddCC or WinSendMail.AddBCC.
You can call this method several times to add several recipients.

Email addresses need to be prefixed with "SMTP:".

See also

Release notes

Blog Entries

Created 28th February 2017, last changed 9th September 2020


WinSendMail.AddCC - WinSendMail.AddTo

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos

Start Chat