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. | ||
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
- SendMail.AddBCC
- SendMail.AddCC
- SendMail.AddRecipient
- WinSendMail.AddBCC
- WinSendMail.AddRecipient
- WinSendMail.AddTo
- WinSendMail.CreateEmail
Release notes
- Version 12.0
- Fixed a problem with WinSendMail.AddBCC, WinSendMail.AddCC, WinSendMail.AddRecipient, WinSendMail.AddTo not passing email when name is empty.
Example Databases
Blog Entries
This function checks for a license.
Created 28th February 2017, last changed 14th March 2023