Email.Update

Description

Updates custom field information.

Request Parameters

APIKey = {string} (required)
The API key you are using to authenticate the access.
Command = {Email.Update} (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
ValidateScope = {OptIn | Campaign | AutoResponder} (required)
Defines the validation scope of the email (required fields, links, etc.)
EmailID = {integer} (required)
Id of the email to be updated
EmailName = {string} (required)
Name of the email
FromName = {string} (required)
From name of the email
FromEmail = {string} (required)
From email address of the email
ReplyToName = {string} (required)
Reply to name of the email
ReplyToEmail = {string} (required)
Reply to email address of the email
Mode = {Empty | Template | Import} (required)
Email's content mode
FetchURL = {string} (required)
Email's remote content url
Subject = {string} (required)
Email's subject
PlainContent = {string} (required)
Email's plain content
HTMLContent = {string} (required)
Email's html content
ImageEmbedding = {Enabled | Disabled} (required)
Email's image embedding
RelTemplateID = {integer} (required)
Email's template id

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
Email id is missing
2
FetchURL is missing
3
Email id is invalid
4
Mode is invalid
5
RelTemplateID is missing
6
FromEmail email address is invalid
7
ReplyToEmail email address is invalid
8
Plain and HTML content is empty
9
Missing validation scope parameter
10
Invalid validation scope parameter
11
Missing unsubscription link in HTML content
12
Missing unsubscription link in plain content
13
Missing opt-in confirmation link in HTML content
14
Missing opt-in confirmation link in plain content
15
Missing opt-in reject link in HTML content
16
Missing opt-in reject link in plain content
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.Duplicate

Description Creates a new email content based on existing one Request Parameters APIKey =...