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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
WinSendMail.AddRecipient
Adds a recipient.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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. | |
| Type | The type of recipient. Can be TO, BCC, CC or ReplyTo. | "CC" |
| 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
- SendMail.AddBCC
- SendMail.AddCC
- SendMail.AddRecipient
- SendMail.AddReplyTo
- SendMail.AddTo
- WinSendMail.AddBCC
- WinSendMail.AddCC
- WinSendMail.AddTo
- WinSendMail.ClearRecipients
Created 28th February 2017, last changed 9th September 2020
WinSendMail.AddCC - WinSendMail.AddTo
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins