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

WinSendMail.AddCC

Adds a copy recipient.

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

Parameters

Parameter Description Example Flags
WinSendMailRef The email reference number obtained using WinSendMai.CreateEmail function. $Email
Email The email address of the recipient. "SMTP:test@mbsplugins.de"
Name Optional the name of the recipient. "John Miller" Optional

Result

Returns OK or error.

Description

Adds a copy recipient.
See also WinSendMail.AddRecipient.
You can call this method several times to add several recipients.

Email addresses need to be prefixed with "SMTP:", but this may no longer be needed in newer Outlook versions.

Examples

Add CC recipient:

MBS( "WinSendMail.AddCC"; $Mail; "test@test.test"; "Test Tester" )

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 28th February 2017, last changed 14th March 2023


WinSendMail.AddBCC - WinSendMail.AddRecipient