...
...
...
...
Method parameters
Creates and sends a message via a unique call
- string SendNewsletterFast(string accessKey, int listID, string subject, string type, string content, Option[] options)
- accessKey:
...
- access key obtained using the Login method
- listID: list identifier. Lists and corresponding IDs can be obtained calling the GetLists Method
- subject: subject of the message
- type: type of message text (HTML, URL, FILE, TEXT)
- content:
...
- message text source, depending on the type:
- type =
- HTML, content
- is the HTML code of the message
- type = TEXT,
- content is the PLAIN-
- TEXT of the message
- type = URL,
- content is the url from which to draw the HTML code of the message
- type = FILE,
- content is a byte array from which to draw the HTML code of the message
- options:
...
- an array
...
- of key/value
...
- pairs for options setting. All the options listed for the CreateNewsletter Method and SendNewsletter Method are available for this method as well.
If error code=0, the message will contain the ID of the sending
Sample SendNewsletterFast response
Code Block | ||||
---|---|---|---|---|
| ||||
<SendNewsletterFastResult>
<errorCode>0</errorCode>
<errorDescription>0</errorDescription>
<listID>1</listID>
<newsletterID>1</newsletterID>
<deliveryID>125</deliveryID>
<deliveryStatus>Sending in progress</deliveryStatus>
</SendNewsletterFastResult> |