The SendCampaignToContact method can be used to send a campaign from your dotMailer account to a specific contact.
Guidance Notes
If you need to send to multiple contacts, we suggest you use SendCampaignToAddressBooksWithProgress.
Parameters
| username |
string |
This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com |
required |
| password |
string |
This is the password from your API key. |
required |
| campaignId |
id |
The ID number of the campaign you wish to send. |
required |
| contactId |
int |
The ID of the contact you want to send the campaign to. |
required |
| sendDate |
dateTime |
The date and time you wish the campaign to be sent (server time). |
required |
Return values
None.