The send command is used to send an email to a single recipient or multiple recipients.
Optional sender header. If you are sending on behalf of many clients with different from addresses use:
- sender=email address of the sender [optional]
- sender_name=display name sender [optional]
Optional scheduling. If you would like to schedule your email to be delivered in the future (drip campaigns etc):
- time_offset_minutes=number of minutes in the future this email should be sent [optional]
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.
- header1=customheader1: header-value1
- header2=customheader2: header-value2
- header3=customheader3: header-value3
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.