Send Mass Email
The send command is used to send an email to a single recipient or multiple recipients.
To use the send command POST to https://api.elasticemail.com/mailer/send with the following form values:
Optional Templates and contact lists:
Optional sender header. If you are sending on behalf of many clients with different from addresses use:
Optional scheduling. If you would like to schedule your email to be delivered in the future (drip campaigns etc):
Optional Custom Headers. If you would like to add custom headers to your email you can do so by defining parameter's header1, header2, header3, etc and providing it a custom header name and header value. Note: a space is required after the colon before the custom header value.
Note: When you have more than one recipient in the "to" field each recipient will receive their own individually delivered copy of the email. Recipients will not see each other's email addresses.
If sent correctly you will receive a response like:
This is the transaction ID of your send job. You can use this transaction ID to check on the status of the given job using the Get Status api.
PHP Using CURL
Objective C (iPhone)
If you've written this (or any of our other API calls) in a language we don't have in our samples send us your working code and we'll put a bonus $50 of Elastic Email credit in your account as a big thank you!