Email.EmailPreview

Description

Sends a preview email to the provided email address

Request Parameters

APIKey = {string} (required)
The API key you are using to authenticate the access.
Command = {Email.EmailPreview} (required)
API Command
ResponseFormat = {JSON | XML} (required)
Response format
JSONPCallBack = {bool}
Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP
EmailID = {integer} (required)
Email ID number
EmailAddress = {string} (required)
Email address to send preview of the email
ListID = {integer} (required)
List ID number
CampaignID = {integer} (required)
Campaign ID number
AddUserGroupHeaderFooter = {true | false} (default: true, required, v4.1.18+)
If set to false, user group header and footer is not inserted into email. This is only required for opt-in confirmation emails.

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code

Error Codes

1
Missing email ID
2
Missing email address
3
Invalid email ID
4
Invalid email address format
5
Missing list ID
6
Invalid list ID
7
Invalid campaign ID
99998
Authentication failure or session expired
99999
Not enough privileges
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Email.Create

Description Creates a blank email record for user. Request Parameters APIKey = {string}...

Email.Delete

Description Deletes given email. Request Parameters APIKey = {string} (required) The API key...

Email.Get

Description Retrieves all information of given email. Request Parameters APIKey = {string}...

Emails.Get

Description Returns the list of email contents created so far Request Parameters APIKey =...

Email.Update

Description Updates custom field information. Request Parameters APIKey = {string}...