Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

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
    •  HTML, content
    è il codice HTML del messaggio
    • is the HTML code of the message
    • type = TEXT,
    content è il
    •  content is the PLAIN-
    TEXT del messaggio
    • TEXT of the message
    • type = URL,
    content è l'url da quale ricavare in codice HTML del messaggio
    •  content is the url from which to draw the HTML code of the message
    • type = FILE,
    content è uno array di byte che rappresenta il file dal quale ricavare il codice HTML del messaggio
    •  content is a byte array from which to draw the HTML code of the message
  • options:

...

  • an array

...

  • of key/value

...

If error code=0, the message will contain the ID of the sending

Sample SendNewsletterFast response

Code Block
languagehtml/xml
linenumberstrue
<SendNewsletterFastResult>
<errorCode>0</errorCode>
<errorDescription>0</errorDescription>
<listID>1</listID>
<newsletterID>1</newsletterID>
<deliveryID>125</deliveryID>
<deliveryStatus>Sending in progress</deliveryStatus>
</SendNewsletterFastResult>