Last Update: 2024-03-21

Newsletter Send Transactional

Currenty not yet public available!

Request:

<?xml version="1.0" encoding="utf-8"?>
<newsletter-send-transactional id="" externalid="" response="">

  <!-- Variant 1) Send to existing address (specified by key-field) //-->
  <address key="" type=""></address>
  ...

  <!-- Variant 2) Create/Update address //-->
  <addressinsert type=""></addressinsert>
  ...

  <allow-address-error></allow-address-error>
  <ignore-address-status></ignore-address-status>
  <ignore-blacklist></ignore-blacklist>

  <senddatetime></senddatetime>
  <fromemail></fromemail>
  <fromname></fromname>
  <replyto></replyto>
  <accountmanager></accountmanager>

  <content>
    <value key=""></value>
    ...
  </content>

  <attachments>
    <attachment type="" name="">https://...</attachment>
    ...
  </attachments>

</newsletter-send-transactional>
Description of XML-Tags:
Element Format Description
newsletter-send-transactional
↳ @idintID of newsletter
↳ @externalidintExternal ID of newsletter (overruled by ID if given)
↳ @responsesimple|complexsimple(default): returns ID of created job only; complex: returns additionaly response for each address
↳ testemailemailIf defined, the mail will only be sent to this email but personalized for the first real address
↳ addressAdd recipient from an existing address
  ↳ @keyvarcharKey-field by which the address is specified
  ↳ @typeto|ccdefault=to
↳ addressinsertAdd recipient by creating/updateing an address (info)
  ↳ @typeto|ccdefault=to
↳ allow-address-errorto|cc|all|noDefault=no; Send mailing even if some addresses had an error (e.g. when set to "cc", not all cc-adresses need to be valid)
↳ ignore-address-status0|1Default=0; Also send if address is not subscribed
↳ ignore-blacklist0|1Default=0; Also send if address is blacklisted
↳ senddatetimeYYYY-mm-dd HH:ii:ssOptional to schedule sending
↳ fromemailvarchar(255)Override from email of newsletter
↳ fromnamevarchar(255)Override from name of newsletter
↳ replytovarchar(255)Override reply-to email of newsletter
↳ accountmanagerID of accountmanager to override the accountmangager of each address
↳ contentList of address specific content
  ↳ valuetextContent value
    ↳ @keyvarchar(255)Content keyword (used as placeholder variable)
↳ attachmentsList of address specific attachments
  ↳ attachmentAttachment data
    ↳ @typeurl|base64Attachment data is fetched by given url or is directly given as base64 encoded string.
    ↳ @namevarcharFilename of attachment
The simple default format of senddatetime (e.g. "2019-07-26 08:45:00") is used if the timezone is "Europe/Vienna". Additional valid formats are "UTC 2019-07-26T08:45:00.000Z" or "2019-07-26T08:45:00+00:00".

Response:

On success the internal ID of the created job will be returned in response->data.

Für Rückfragen stehen wir Ihnen jederzeit gerne unter support@eyepin.com zur Verfügung.