Send Email
GET {{baseUrl}}/mailer/send/?api_key=<>&body_html=<>&body_text=<>&channel=<>&charset=<>&encodingtype=<>&from=<>&from_name=<>&lists=<>&merge_firstname=<>&merge_lastname=<>&reply_to=<>&reply_to_name=<>&sender=<>&sender_name=<>&subject=<>&template=<>&time_offset_minutes=<>&total=<>&username=<>
api.elasticemail.com
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | your api key | |
body_html | string | html email body | |
body_text | string | text email body | |
channel | string | an id field (max 60 chars) that can be used for reporting | |
charset | string | text value of encoding for example: iso-8859-1, windows-1251, utf-8, us-ascii, windows-1250 | |
encodingtype | string | 0 for None, 1 for Raw7Bit, 2 for Raw8Bit, 3 for QuotedPrintable, 4 for Base64 (Default), 5 for Uue note that you can also provide the text version such as Raw7Bit for value 1. | |
from | string | from email address | |
from_name | string | display name for from email address | |
lists | string | the name of a contact list you would like to send to. Separate multiple contact lists by commas | |
merge_firstname | string | if sending to a template you can send merge_ fields to merge data with the template. Template fields are entered with {firstname}, {lastname} etc. | |
merge_lastname | string | if sending to a template you can send merge_ fields to merge data with the template. Template fields are entered with {firstname}, {lastname} etc. | |
reply_to | string | email address to reply to | |
reply_to_name | string | display name of the reply to address | |
sender | string | email address of the sender | |
sender_name | string | display name sender | |
subject | string | email subject | |
template | string | the name of an email template you have created in your account. If you send a template | |
time_offset_minutes | string | number of minutes in the future this email should be sent | |
total | string | semi colon separated list of email recipients (each email is treated separately, like a BCC) | |
username | string | username |