Call us toll free @ 888-497-7898

email - getmessagedetail

This api returns the html and text content of message given the id of the message.


API Call Information
area: email
action: getmessagedetail

API Arguments
Argument Data Type Required Description
id integer Yes message id found from the getmessages api call
API Url Example:
https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=email&action=getmessagedetail&id=1234

API Result:
XML Response JSON Response
<response>
<message>
<id>45911</id>
<title>aagag</title>
<datecreated>August 11, 2011, 09:18:08 pm</datecreated>
<numberoftimesused>0</numberoftimesused>
<datelastused>Never</datelastused>
<locked>0</locked>
<previewtext><![CDATA[]]></previewtext>
<htmlmsg><![CDATA[
<html><body><p>test link <a href="http://www.test.com">http://www.test.com</a></p>
<p>&nbsp;</p>
<p>Image test</p>
<p><img src="http://site.com/logo.jpg" alt="" width="186" height="52" /></p></body></html>
]]></htmlmsg>


<textmsg><![CDATA[
test link http://www.test.com

]]></textmsg>
</message>
</response>
{
    "message": {
        "id": "45911",
        "title": "aagag",
        "datecreated": "August 11, 2011, 09:18:08 pm",
        "numberoftimesused": "0",
        "datelastused": "Never",
        "locked": "0",
        "previewtext": "",
        "htmlmsg": "

test link http://www.test.com

 

Image test

", "textmsg": "test link http://www.test.com" } }