logo   HOME

Email Messaging

This page lists the optional parameters, request data and reponse in xml

Retrieve sent message [HTTP GET]

https://appapi.dlangemobile.com/xml/email/{api_key}/sent/{sent_message_id}

URL Parameters

  • api_key (Required) - Your API application key.
  • sent_message_id (Required) - ID of a MessageSent item.

Response Notes

  • ID - Used to delete and restore sent message
  • DateCreated - Format is {yyyy}-{mm}-{dd}T{hh}:{mm}:{ss}

Example XML Response

   <EmailMessage>
    <ID>1</ID>
    <DateCreated>2011-05-31T11:20:00</DateCreated>
    <SenderEmail>contact1@domain.com</SenderEmail>
    <RecipientEmail>contact2@domain.com</RecipientEmail>
    <Subject>my email subject</Subject>
    <Message>my email body</Message>
  </EmailMessage>

Error Codes

  • 001 - API key is required.
  • 002 - Invalid API key.
  • 502 - Define a valid Message ID.
  • 503 - Invalid Message ID format.
  • 504 - Message not found. Please provide a valid Message ID.