Transactional Email Web Service

Transactional emails are emails that are typically related to system or account related activity triggered by customer interactions with your brand. Common examples of these emails are: 

  • Password reminders / resets
  • System notifications
  • Order confirmation
  • Verification messages
  • Shipping confirmation



Transactional Email Web Service Methods 

The following table lists supported methods in Transactional Email Web Service and provides a brief description of each method. Click on the method name for more information:

Method

Description

GetPostBulkBounceResult

Queries the transactional emails reported as Hard Bounce or Soft Bounce between two dates.

GetPostBulkResult

Queries the status of transactional emails sent between two dates.

GetPostBulkResultByLastUpdate

Queries the transactional emails with changed results (read, reported as invalid etc) between two dates.

GetPostBulkResultByPostId

Queries the status of transactional emails related to the PostIDs.

GetPostBulkResultWithOptional

Queries the status of transactional emails between two dates with Optional Post Type and To Adress.

GetPostResult

Queries the status of a transactional email sent.

PostHtml

Enables free-Html posting.

PostHtmlWithCCandBCC

Enables free-Html posting with CC and BCC. Be aware that these CC and BCC emails may affect the reporting of transactional emails. Please use them after consulting the RMC IT Support Team.

PostHtmlWithType

Enables free-Html posting with type.

PostHtmlWithTypeCCandBCC

Enables free-Html posting with type and with CC and BCC. Be aware that these CC and BCC emails may affect the reporting of transactional emails. Please use them after consulting RMC Support Team.

PostHtmlWithTypeKeyIDAndCustomParams

Enables free-Html posting with Type, Key_ID and Custom Fields.

PostTransactionalEmailWithHtmlTemplate

Enables Transactional Email with HTML Template posting.

PostTransactionalEmailWithXsltTemplate

Enables Transactional Email with XSLT Template posting.


To interact with any Web Services, developers must first use the Login method to create a SERVICE TICKET. Developers can send requests to other Web Service and methods using this SERVICE TICKET.



PostHtml 

Back to Top ^

<PostHtml>
Enables free-Html posting.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

FromNameSender's name

MANDATORY

FromAddressSender's email address

MANDATORY

ReplyAddressReply address that will appear on the email

MANDATORY

SubjectEmail subject

MANDATORY

HtmlBodyEmail content

MANDATORY

CharsetCharacter set for HTML

MANDATORY

ToNameRecipient's name

MANDATORY

ToEmailAddressRecipient's email address

MANDATORY

AttachmentsAttachments to be included in the email

OPTIONAL

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtml xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
      <PlainTextBody>string</PlainTextBody>
    </PostHtml>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlResponse xmlns="http://ws.euromsg.com/post">
      <PostHtmlResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </PostHtmlResult>
    </PostHtmlResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

HTMLBODY parameter must always have HTML, Head and Body Tags.

FROMNAME and FROMADDRESS parameters are pre-defined in your account. You can access these information from settings>sending path.

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded. Please contact RMC Technical Client Support Team to obtain more information about sending transactional emails with promotional content.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.
550Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.



PostHtmlWithType 

Back to Top ^

<PostHtmlWithType>
Enables free-Html posting with type.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

FromNameSender's name

MANDATORY

FromAddressSender's email address

MANDATORY

ReplyAddressReply address that will appear on the email

MANDATORY

SubjectEmail subject

MANDATORY

HtmlBodyEmail content

MANDATORY

CharsetCharacter set for HTML

MANDATORY

ToNameRecipient's name

MANDATORY

ToEmailAddressRecipient's email address

MANDATORY

AttachmentsAttachments to be included in the email

OPTIONAL

PostTypeType of the email to be sent

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithType xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
      <PostType>string</PostType>
      <PlainTextBody>string</PlainTextBody>
    </PostHtmlWithType>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithTypeResponse xmlns="http://ws.euromsg.com/post">
      <PostHtmlWithTypeResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </PostHtmlWithTypeResult>
    </PostHtmlWithTypeResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

HTMLBODY parameter must always have HTML, Head and Body Tags.

FROMNAME and FROMADDRESS parameters are pre-defined in your account. You can access these information from settings>sending path.

PostType parameter is used to group the sent SMS messages for reporting purposes. This is not a predefined parameter. For example for email Password Reminder messages PASSWORD REMINDER can be be used as value.

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded. Please contact RMC Technical Client Support to obtain more information about sending transactional emails with promotional content.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.



PostHtmlWithCCandBCC 

Back to Top ^

<PostHtmlWithCCandBCC>
Enables free-Html posting with CC and BCC.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

FromNameSender's name

MANDATORY

FromAddressSender's email address

MANDATORY

ReplyAddressReply address that will appear on the email

MANDATORY

SubjectEmail subject

MANDATORY

HtmlBodyEmail content

MANDATORY

CharsetCharacter set for HTML

MANDATORY

ToNameRecipient's name

MANDATORY

ToEmailAddressRecipient's email address

MANDATORY

CCEmailAddressEmail addresses to be included in CC

MANDATORY

BCCEmailAddressEmail addresses to be included in BCC

MANDATORY

AttachmentsAttachments to be included in the email

OPTIONAL

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithCCandBCC xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <CCEmailAddress>string</CCEmailAddress>
      <BCCEmailAddress>string</BCCEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
      <PlainTextBody>string</PlainTextBody>
    </PostHtmlWithCCandBCC>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithCCandBCCResponse xmlns="http://ws.euromsg.com/post">
      <PostHtmlWithCCandBCCResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </PostHtmlWithCCandBCCResult>
    </PostHtmlWithCCandBCCResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, CODE the parameter will return 00 as a response.

HTMLBODY parameter must always have HTML, Head and Body Tags.

FROMNAME and FROMADDRESS parameters are pre-defined in your account. You can access these information from settings>sending path.

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded. Please contact our support team to obtain more information about sending transactional emails with promotional content.

If any of the recipients in CC, BCC or the original recipient gives a response to an email; the email will be marked as "read". The detail as to which user has given the first response is not stored. Even if only one of the 3 recipient reads the email, the email will be reported as READ.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.
550Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.



PostHtmlWithTypeCCandBCC 

Back to Top ^

<PostHtmlWithTypeCCandBCC>
Enables free-Html posting with Type, CC and BCC

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

FromNameSender's name

MANDATORY

FromAddressSender's email address

MANDATORY

ReplyAddressReply address that will appear on the email.

MANDATORY

SubjectEmail subject.

MANDATORY

HtmlBodyEmail content.

MANDATORY

CharsetCharacter set for HTML.

MANDATORY

ToNameRecipient's name.

MANDATORY

ToEmailAddressRecipient's email address.

MANDATORY

CCEmailAddressEmail addresses to be included in CC.

MANDATORY

BCCEmailAddressEmail addresses to be included in BCC.

MANDATORY

AttachmentsAttachments to be included in the email.

OPTIONAL

PostTypeType of the email to be sent.

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithTypeCCandBCC xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <CCEmailAddress>string</CCEmailAddress>
      <BCCEmailAddress>string</BCCEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
      <PostType>string</PostType>
      <PlainTextBody>string</PlainTextBody>
    </PostHtmlWithTypeCCandBCC>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithTypeCCandBCCResponse xmlns="http://ws.euromsg.com/post">
      <PostHtmlWithTypeCCandBCCResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </PostHtmlWithTypeCCandBCCResult>
    </PostHtmlWithTypeCCandBCCResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, CODE the parameter will return 00 as a response.

HTMLBODY parameter must always have HTML, Head and Body Tags.

FROMNAME and FROMADDRESS parameters are pre-defined in your account. You can access these information from settings>sending path.

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded in this service. Please contact RMC Technical Client Support Team to obtain more information about sending transactional emails with promotional content.

PostType parameter is used to group the sent SMS messages for reporting purposes. This is not a predefined parameter. For example for email Password Reminder messages PASSWORD REMINDER can be be used as value.

If any of the recipients in CC, BCC or the original recipient gives a response to an email; the email will be marked as "read". The detail as to which user has given the first response is not stored. Even if only one of the 3 recipient reads the email, the email will be reported as READ.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.



PostHtmlWithTypeKeyIDAndCustomParams 

Back to Top ^

<PostHtmlWithTypeKeyIDAndCustomParams>
Enables free-Html posting with Type, Key_ID and Custom Fields.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

FromNameSender's name.

MANDATORY

FromAddressSender's email address.

MANDATORY

ReplyAddressReply address that will appear on the email.

MANDATORY

SubjectSubject line.

MANDATORY

HtmlBodyEmail content.

MANDATORY

CharsetCharacter set for HTML.

MANDATORY

ToNameRecipient name.

MANDATORY

ToEmailAddressRecipient's email address.

MANDATORY

CC

Email addresses to add to CC

OPTIONAL

BCC

Email addresses to add to bCC

OPTIONAL

AttachmentsAttachments to be included in the email.

OPTIONAL

PostTypeType of email to be sent.

MANDATORY

KeyIDRecipient KEY_ID information.

MANDATORY

CustomParamsCustom parameters found in the email (Ex. promotion code).

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithTypeKeyIDAndCustomParams xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
      <PostType>string</PostType>
      <KeyID>string</KeyID>
      <CustomParams>string</CustomParams>
      <CC>
        <string>string</string>
        <string>string</string>
      </CC>
      <BCC>
        <string>string</string>
        <string>string</string>
      </BCC>
      <PlainTextBody>string</PlainTextBody>
    </PostHtmlWithTypeKeyIDAndCustomParams>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostHtmlWithTypeKeyIDAndCustomParamsResponse xmlns="http://ws.euromsg.com/post">
      <PostHtmlWithTypeKeyIDAndCustomParamsResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </PostHtmlWithTypeKeyIDAndCustomParamsResult>
    </PostHtmlWithTypeKeyIDAndCustomParamsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

HTMLBODY parameter must always have HTML, Head and Body Tags.

FROMNAME and FROMADDRESS parameters are pre-defined in your account. You can access these information from settings>sending path.

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded in this service. Please contact our support team to obtain more information about sending transactional emails with promotional content.

PostType parameter is used to group the sent SMS messages for reporting purposes. This is not a predefined parameter. For example for email Password Reminder messages PASSWORD REMINDER can be be used as value.

If any of the recipients in CC, BCC or the original recipient gives a response to an email; the email will be marked as "read". The detail as to which user has given the first response is not stored. Even if only one of the 3 recipient reads the email, the email will be reported as READ.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid recipient email address.
99Not a valid from name!The from name information was not defined in your account.
99Not a valid from address!The from address information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by the email recipient.
99Not a valid HTML!HTML content format is incorrect.



GetPostResult 

Back to Top ^

<GetPostResult>
Queries the status of a transactional email sent.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

PostIDEmail ID in question.

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostResult xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <PostID>string</PostID>
    </GetPostResult>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostResultResponse xmlns="http://ws.euromsg.com/post">
      <GetPostResultResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </GetPostResultResult>
    </GetPostResultResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

PostID parameter is the 32 bytes long ID returned from the service after the transactional email is sent.

Error Parameters

CodeError MessageDescriptiom
9998No session. Please try re-logon.No active sessions found. Try login again.



GetPostBulkResult 

Back to Top ^

<GetPostBulkResult>
Queries the status of transactional emails sent between two dates.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

BeginDateReport beginning date. Date format must be dd.mm.yyyy

MANDATORY

EndDateReport ending date. Date format must be dd.mm.yyyy

MANDATORY

Delivery Status 

Values

Description

HU-HB

Invalid domain or username. Errors like ip blocking.

HJ

Marked as spam.

SU

Mails that cannot be sent to the mail address in an instant. Errors like full of mail box or temporary dns error.

HT

Disposable E-mails are named as HT by Euromessage. No delivery to those addresses.

RE

Delivery is completed. No response from user.

RD

Read by user.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResult xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
    </GetPostBulkResult>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResultResponse xmlns="http://ws.euromsg.com/post">
      <GetPostBulkResultResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </GetPostBulkResultResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkResultResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

The date range is limited to a maximum of 24 hours.

Date format is YYYY-MM-DD HH:MM:SS.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid date!The date range entered exceeds 24 hours.



GetPostBulkBounceResult  

Back to Top ^

<GetPostBulkBounceResult>
Queries the transactional emails reported as invalid or undelivered between two dates.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

BeginDateReport start date. Date format must be dd.mm.yyyy

MANDATORY

EndDateReport end date. Date format must be dd.mm.yyyy

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkBounceResult xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
    </GetPostBulkBounceResult>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkBounceResultResponse xmlns="http://ws.euromsg.com/post">
      <GetPostBulkBounceResultResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </GetPostBulkBounceResultResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkBounceResultResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

The date range is limited to a maximum of 24 hours.

Date format is YYYY-MM-DD HH:MM:SS.

Error Parameters 

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid date!The date range entered exceeds 24 hours.



GetPostBulkResultByLastUpdate 

Back to Top ^

<GetPostBulkResultByLastUpdate>

Queries the transactional emails with changed results (read, reported as invalid etc) between two dates.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

BeginDateReport start date. Date format must be dd.mm.yyyy

MANDATORY

EndDateReport end date. Date format must be dd.mm.yyyy

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResultByLastUpdate xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
    </GetPostBulkResultByLastUpdate>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResultByLastUpdateResponse xmlns="http://ws.euromsg.com/post">
      <GetPostBulkResultByLastUpdateResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </GetPostBulkResultByLastUpdateResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkResultByLastUpdateResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

The date range is limited to a maximum of 24 hours.

Date format is YYYY-MM-DD HH:MM:SS.

Function returns an email list including only emails for which the deliverability status has changed. For example: if 100 emails are sent, 20 of them are read and 15 of them are invalid or undelivered, the service returns the data only for those 35 emails.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid date!The date range entered exceeds 24 hours.



GetPostBulkResultByPostId 

Back to Top ^

<GetPostBulkResultByPostId>
Queries the status of transactional emails related to the PostID's.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

postIdsPostID's to question.

MANDATORY

Delivery Status 

Values

Description

HU-HB

Invalid domain or username. Errors in cases such as ip blocking.

HJ

Marking as spam.

SU

Mails that cannot be sent to the mail address in an instant. Errors in cases such as full of mail box or temporary dns error.

HT

Disposable E-mails named as HT by Euromessage. No delivery to these addresses.

RE

Delivery is provided. No response from user.

RD

Read by user.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResultByPostId xmlns="http://ws.euromsg.com/post">
      <serviceTicket>string</serviceTicket>
      <postIds>
        <string>string</string>
        <string>string</string>
      </postIds>
    </GetPostBulkResultByPostId>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResultByPostIdResponse xmlns="http://ws.euromsg.com/post">
      <GetPostBulkResultByPostIdResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </GetPostBulkResultByPostIdResult>
      <bulkResult>
        <EmPostResult>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
          <FromAdress>string</FromAdress>
          <ToAddress>string</ToAddress>
          <ReplyAdress>string</ReplyAdress>
          <Subject>string</Subject>
        </EmPostResult>
        <EmPostResult>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
          <FromAdress>string</FromAdress>
          <ToAddress>string</ToAddress>
          <ReplyAdress>string</ReplyAdress>
          <Subject>string</Subject>
        </EmPostResult>
      </bulkResult>
    </GetPostBulkResultByPostIdResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.



PostTransactionalEmailWithHtmlTemplate 

Back to Top ^

<PostTransactionalEmailWithHtmlTemplate>
Enables Transactional Email with HTML Template posting.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

FromNameSender's name.

MANDATORY

FromAddressSender's email address.

MANDATORY

ReplyAddressReply address that will appear on the email.

MANDATORY

TemplateNameTemplate name for the email to be sent.

MANDATORY

SubjectVariablesVariables list to be used in the subject line.

MANDATORY

BodyVariablesList of variables to be used in the email body.

MANDATORY

CharsetCharacter set for the email template.

MANDATORY

ToNameRecipient's name.

MANDATORY

ToEmailAddressRecipient's email address.

MANDATORY

AttachmentsAttachments to be included in the email.

OPTIONAL

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostTransactionalEmailWithHtmlTemplate xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <TemplateName>string</TemplateName>
      <SubjectVariables>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
      </SubjectVariables>
      <BodyVariables>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
      </BodyVariables>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
    </PostTransactionalEmailWithHtmlTemplate>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostTransactionalEmailWithHtmlTemplateResponse xmlns="http://ws.euromsg.com/post">
      <PostTransactionalEmailWithHtmlTemplateResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </PostTransactionalEmailWithHtmlTemplateResult>
    </PostTransactionalEmailWithHtmlTemplateResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

You can use the CREATETRANSACTIONALEMAILTEMPLATE function in the TEMPLATE.ASMX service in order to define the template that will be used in this function.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Invalid from name!The from name information was not defined in your account.
99Not a valid from address!The from address information was not defined in your account.
99No session. Please try re-logon.No active sessions found. Try login again.
99Email address exist in blacklist!A previous transactional email was marked as spam by the email recipient.



PostTransactionalEmailWithXsltTemplate 

Back to Top ^

<PostTransactionalEmailWithXsltTemplate>
Enables Transactional Email with XSLT Template posting.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

FromNameSenders's name.

MANDATORY

FromAddressSender's email address.

MANDATORY

ReplyAddressReply address that will appear on the email.

MANDATORY

TemplateNameTemplate name for the email to be sent.

MANDATORY

SubjectVariablesVariables list to be used in the subject line.

MANDATORY

BodyVariablesList of variables to be used in the email body.

MANDATORY

CharsetCharacter set for the email template.

MANDATORY

ToNameRecipient's name.

MANDATORY

ToEmailAddressRecipient's email address.

MANDATORY

AttachmentsAttachments to be included in the email.

OPTIONAL

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostTransactionalEmailWithXsltTemplate xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <TemplateName>string</TemplateName>
      <Xml>string</Xml>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
    </PostTransactionalEmailWithXsltTemplate>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostTransactionalEmailWithXsltTemplateResponse xmlns="http://ws.euromsg.com/post">
      <PostTransactionalEmailWithXsltTemplateResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </PostTransactionalEmailWithXsltTemplateResult>
    </PostTransactionalEmailWithXsltTemplateResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

You can use the CREATETRANSACTIONALEMAILTEMPLATE function in the TEMPLATE.ASMX service in order to define the template that will be used in this function.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Invalid from name!The from name information was not defined in your account.
99Not a valid from address!The from address information was not defined in your account.
99No session. Please try re-logon.No active sessions found. Try login again.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.

GetPostBulkResultWithOptional 

Back to Top ^

<GetPostBulkResultWithOptional>
Queries the status of transactional emails related to the Optional.

This method only shows the last 24 hours report from the start date (BEGINDATESTR).


Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login.

MANDATORY

beginDateStrEmail start date.

MANDATORY

endDateStrEmail end date.
postTypeType of email to be sent.
toAddressRecipient's email address.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResultWithOptional xmlns="http://ws.euromsg.com/post">
      <serviceTicket>string</serviceTicket>
      <beginDateStr>string</beginDateStr>
      <endDateStr>string</endDateStr>
      <postType>string</postType>
      <toAddress>string</toAddress>
    </GetPostBulkResultWithOptional>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPostBulkResultWithOptionalResponse xmlns="http://ws.euromsg.com/post">
      <GetPostBulkResultWithOptionalResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ToAddress>string</ToAddress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
      </GetPostBulkResultWithOptionalResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkResultWithOptionalResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the CODE parameter will return 00 as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.



Parent Topic: SOAP Web Service


Copyright 2020 Related Digital