| 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 |
|---|---|---|
| WinSendMailRef | The email reference number obtained using WinSendMai.CreateEmail function. | |
| The email address of the recipient. | "SMTP:test@mbsplugins.de" | |
| Name | The name of the recipient. | "John Miller" |
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; “SMTP: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 31st March 2025