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

KeyDatatypeRequiredDescription
api_keystringyour api key
body_htmlstringhtml email body
body_textstringtext email body
channelstringan id field (max 60 chars) that can be used for reporting
charsetstringtext value of encoding for example: iso-8859-1, windows-1251, utf-8, us-ascii, windows-1250
encodingtypestring0 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.
fromstringfrom email address
from_namestringdisplay name for from email address
listsstringthe name of a contact list you would like to send to. Separate multiple contact lists by commas
merge_firstnamestringif sending to a template you can send merge_ fields to merge data with the template. Template fields are entered with {firstname}, {lastname} etc.
merge_lastnamestringif sending to a template you can send merge_ fields to merge data with the template. Template fields are entered with {firstname}, {lastname} etc.
reply_tostringemail address to reply to
reply_to_namestringdisplay name of the reply to address
senderstringemail address of the sender
sender_namestringdisplay name sender
subjectstringemail subject
templatestringthe name of an email template you have created in your account. If you send a template
time_offset_minutesstringnumber of minutes in the future this email should be sent
totalstringsemi colon separated list of email recipients (each email is treated separately, like a BCC)
usernamestringusername