Preview a mailing before sending - PreviewMailing

Returns a preview of an Acoustic Campaign mailing template.

Elements (Required)

MailingId - Numeric identifier for the exported mailing template

Elements (Optional)

RecipientEmail - Email address of the contact used to display personalization

<Envelope>
  <Body>
    <PreviewMailing>
      <MailingId>59294</MailingId>
    </PreviewMailing>
  </Body>
</Envelope>
<Envelope>
  <Body>
    <RESULT>
      <SUCCESS>TRUE</SUCCESS>
      <HTMLBody>
        <![CDATA[<html><HEAD><TITLE></TITLE></HEAD><BODY>
<P>Hello World,</P><br><P>I am sending this test message 
with personalization:</P><br>
%%FIRST_NAME%%
<br></BODY></html>]]>
      </HTMLBody>
      <TextBody/>
      <SpamScore>Scoreis:2.5/5.0---
0.0 MIME_HTML_MOSTLY BODY: Multipart message mostly text/html 
MIME 0.0 HTML_MESSAGE BODY: HTMLincluded in message 1.1 
MPART_ALT_DIFF BODY: HTML and text parts are different 0.
1 RDNS_NONE Delivered to trusted network by a host with no rDNS 
1.2 AWL AWL: From: address is in the auto white-list
      </SpamScore>
    </RESULT>
  </Body>
</Envelope>

Elements (Results)

SUCCESS - True if successful; False if not.

HTMLBody - The contents of the HTML body with personalization substituted

AOLBody - The contents of the AOL body with personalization substituted

TextBody - The contents of the text body with personalization substituted

SPAMScore - The SPAM score based on the contents of the mailing template