| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <html> |
| <head> |
| <title>Postage - |
| Postage test mail format conventions</title> |
| <style type="text/css" media="all"> |
| @import url("./css/maven-base.css"); |
| @import url("./css/maven-theme.css"); |
| @import url("./css/site.css"); |
| </style> |
| <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" /> |
| <meta name="author" content=" |
| James Postage Project Team" /> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
| </head> |
| <body class="composite"> |
| <div id="banner"> |
| <a href="index.html" id="bannerLeft"> |
| |
| <img src="images/james-postage-logo.gif" alt="" /> |
| |
| </a> |
| <a href="http://www.apache.org/index.html" id="bannerRight"> |
| |
| <img src="images/asf-logo-reduced.gif" alt="" /> |
| |
| </a> |
| <div class="clear"> |
| <hr/> |
| </div> |
| </div> |
| <div id="breadcrumbs"> |
| |
| |
| |
| |
| |
| |
| |
| <div class="xleft"> |
| Last Published: 03/30/2007 |
| </div> |
| <div class="xright"> <a href="../index.html">JAMES Project</a> |
| | |
| <a href="../server/index.html">Server</a> |
| | |
| <a href="../jspf/index.html">jSPF</a> |
| | |
| <a href="../mime4j/index.html">Mime4J</a> |
| | |
| <a href="../jsieve/index.html">JSieve</a> |
| | |
| <a href="../postage/index.html">Postage</a> |
| |
| |
| |
| |
| |
| |
| |
| </div> |
| <div class="clear"> |
| <hr/> |
| </div> |
| </div> |
| <div id="leftColumn"> |
| <div id="navcolumn"> |
| |
| |
| |
| |
| |
| |
| |
| <h5>Postage</h5> |
| <ul> |
| |
| <li class="none"> |
| <a href="index.html">Overview</a> |
| </li> |
| |
| <li class="none"> |
| <a href="prepare_james.html">Prepare James</a> |
| </li> |
| |
| <li class="none"> |
| <strong>Test mail format</strong> |
| </li> |
| |
| <li class="none"> |
| <a href="custom_test_mails.html">Custom test mails</a> |
| </li> |
| </ul> |
| <h5>Project Documentation</h5> |
| <ul> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li class="collapsed"> |
| <a href="project-info.html">Project Information</a> |
| </li> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <li class="collapsed"> |
| <a href="project-reports.html">Project Reports</a> |
| </li> |
| </ul> |
| <h5>Downloads</h5> |
| <ul> |
| |
| <li class="none"> |
| <a href="../download.cgi">Stable releases</a> |
| </li> |
| |
| <li class="none"> |
| <a href="http://people.apache.org/dist/james">Test builds</a> |
| </li> |
| |
| <li class="none"> |
| <a href="http://people.apache.org/builds/james/nightly/">Nightly builds</a> |
| </li> |
| </ul> |
| <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"> |
| <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img> |
| </a> |
| |
| |
| |
| |
| |
| |
| |
| </div> |
| </div> |
| <div id="bodyColumn"> |
| <div id="contentBox"> |
| |
| |
| |
| <a name="Postage standard mail headers"></a><div class="section"><h2>Postage standard mail headers</h2> |
| <p>To recognize its own mails, Postage adds a couple of headers to its test mails. AbstractMailFactory takes care for adding those headers correctly.</p> |
| <p><code>X-James-Postage=This is a test mail sent by James Postage</code></p> |
| <p><code>X-James-Postage-Count=1158086107828-1</code> where "1158086107828" is constant for the whole scenario run while "1" is incremented with every test mail.</p> |
| <p><code>X-James-Postage-Count=PROFORMA</code> is used for all mails in the startup phase.</p> |
| <p><code>Message-ID=Postage-1158086175218</code> where "1158086175218" is a time stamp distinguishing this mail from all others.</p> |
| <p><code>X-James-Validator=org.apache.james.postage.mail.AbstractMailFactory</code></p> |
| <p>These headers are used for identifying, matching and validating test mails. If headers are missing, the result report can not be build properly.</p> |
| </div> |
| |
| |
| </div> |
| </div> |
| <div class="clear"> |
| <hr/> |
| </div> |
| <div id="footer"> |
| <div class="xright">© |
| 2006-2007 |
| |
| The Apache Software Foundation |
| |
| |
| |
| |
| |
| |
| |
| </div> |
| <div class="clear"> |
| <hr/> |
| </div> |
| </div> |
| <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> |
| </script> |
| <script type="text/javascript"> |
| _uacct = "UA-1384591-1"; |
| urchinTracker(); |
| </script> |
| </body> |
| </html> |