<?php include_once '../doc-typo3-funcs.php'; $doxygen_vars = array( "title" => "TYPO3 4.0.1: t3lib_readmail Class Reference", "datetime" => "Sat Dec 2 19:26:05 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?> <!-- Generated by Doxygen 1.4.6 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div> <h1>t3lib_readmail Class Reference</h1><!-- doxytag: class="t3lib_readmail" --><a href="classt3lib__readmail-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#c6286490ee48945a31dfd1c07a234f9d">getMessage</a> ($mailParts)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#ac09598177b2244daafef72e85b2b674">getTextContent</a> ($content)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#77c6cc54e2f685e45607242504b91842">getMailBoundaryParts</a> ($boundary, $content)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#ba1aca8ecd77198eaa4f96514ecd8d93">getCType</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#bfde2cb5eac0b8ff0334df8ca786de41">analyseReturnError</a> ($c)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#647ad3fb6297ef08655e80adcd0377b0">decodeHeaderString</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#2b8e50a1d1962c718321f46c4c004493">extractNameEmail</a> ($str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#d4ebbf6aefa8da81c0034015c972e720">getContentTypeData</a> ($contentTypeStr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#4f766a45fe46c974037a6b6f773a74ab">makeUnixDate</a> ($dateStr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#08b8674ebbc13c42454e1732dce478c8">getGMToffset</a> ($GMT)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#8d24d3046fd0b5c245caa50374ca3384">extractMailHeader</a> ($content, $limit=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#1046992b9ef05d0f3f43fc2c28251516">fullParse</a> ($content)</td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#c3448790a6e6c414339b6cf55740e534">$dateAbbrevs</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="92913a033b62aa32f858a67bde4a561b"></a><!-- doxytag: member="t3lib_readmail::$serverGMToffsetMinutes" ref="92913a033b62aa32f858a67bde4a561b" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__readmail.html#92913a033b62aa32f858a67bde4a561b">$serverGMToffsetMinutes</a> = 60</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00083">83</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>.<hr><h2>Member Function Documentation</h2> <a class="anchor" name="bfde2cb5eac0b8ff0334df8ca786de41"></a><!-- doxytag: member="t3lib_readmail::analyseReturnError" ref="bfde2cb5eac0b8ff0334df8ca786de41" args="($c)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::analyseReturnError </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>c</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Analyses the return-mail content for the Dmailer module - used to find what reason there was for rejecting the mail Used by the Dmailer, but not exclusively.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>message body/text </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array key/value pairs with analysis result. Eg. "reason", "content", "reason_text", "mailserver" etc. </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00196">196</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. </td> </tr> </table> <a class="anchor" name="647ad3fb6297ef08655e80adcd0377b0"></a><!-- doxytag: member="t3lib_readmail::decodeHeaderString" ref="647ad3fb6297ef08655e80adcd0377b0" args="($str)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::decodeHeaderString </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Decodes a header-string with the =?....?= syntax including base64/quoted-printable encoding.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>A string (encoded or not) from a mail header, like sender name etc. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string The input string, but with the parts in =?....?= decoded. </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00251">251</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. </td> </tr> </table> <a class="anchor" name="8d24d3046fd0b5c245caa50374ca3384"></a><!-- doxytag: member="t3lib_readmail::extractMailHeader" ref="8d24d3046fd0b5c245caa50374ca3384" args="($content, $limit=0)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::extractMailHeader </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>content</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>limit</em> = <code>0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This returns the mail header items in an array with associative keys and the mail body part in another CONTENT field<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Raw mail content </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>A safety limit that will put a upper length to how many header chars will be processed. Set to zero means that there is no limit. (Uses a simple substr() to limit the amount of mail data to process to avoid run-away) </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array An array where each key/value pair is a header-key/value pair. The mail BODY is returned in the key 'CONTENT' if $limit is not set! </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00368">368</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. <p> Referenced by <a class="el" href="class_8t3lib__readmail_8php-source.html#l00138">getTextContent()</a>. </td> </tr> </table> <a class="anchor" name="2b8e50a1d1962c718321f46c4c004493"></a><!-- doxytag: member="t3lib_readmail::extractNameEmail" ref="2b8e50a1d1962c718321f46c4c004493" args="($str)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::extractNameEmail </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Extracts name/email parts from a header field (like 'To:' or 'From:' with name/email mixed up.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Value from a header field containing name/email values. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array Array with the name and email in. Email is validated, otherwise not set. </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00279">279</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. <p> References <a class="el" href="class_8t3lib__div_8php-source.html#l01350">t3lib_div::validEmail()</a>. </td> </tr> </table> <a class="anchor" name="1046992b9ef05d0f3f43fc2c28251516"></a><!-- doxytag: member="t3lib_readmail::fullParse" ref="1046992b9ef05d0f3f43fc2c28251516" args="($content)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::fullParse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>content</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> The extended version of the <a class="el" href="classt3lib__readmail.html#8d24d3046fd0b5c245caa50374ca3384">extractMailHeader()</a> which will also parse all the content body into an array and further process the header fields and decode content etc. Returns every part of the mail ready to go.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Raw email input. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array Multidimensional array with all parts of the message organized nicely. Use <a class="el" href="classt3lib__div.html#a61f663a08044f49c4525ec2c91f1cd1">t3lib_div::debug()</a> to analyse it visually. </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00399">399</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. </td> </tr> </table> <a class="anchor" name="d4ebbf6aefa8da81c0034015c972e720"></a><!-- doxytag: member="t3lib_readmail::getContentTypeData" ref="d4ebbf6aefa8da81c0034015c972e720" args="($contentTypeStr)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::getContentTypeData </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>contentTypeStr</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns the data from the 'content-type' field. That is the boundary, charset and mime-type<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>"Content-type-string" </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array key/value pairs with the result. </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00308">308</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. </td> </tr> </table> <a class="anchor" name="ba1aca8ecd77198eaa4f96514ecd8d93"></a><!-- doxytag: member="t3lib_readmail::getCType" ref="ba1aca8ecd77198eaa4f96514ecd8d93" args="($str)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::getCType </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>str</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns Content Type plus more. Obsolete, use <a class="el" href="classt3lib__readmail.html#1046992b9ef05d0f3f43fc2c28251516">fullParse()</a><p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>"ContentType" string with more </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array parts in key/value pairs </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00173">173</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. <p> Referenced by <a class="el" href="class_8t3lib__readmail_8php-source.html#l00113">getMessage()</a>. </td> </tr> </table> <a class="anchor" name="08b8674ebbc13c42454e1732dce478c8"></a><!-- doxytag: member="t3lib_readmail::getGMToffset" ref="08b8674ebbc13c42454e1732dce478c8" args="($GMT)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::getGMToffset </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>GMT</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Parsing the GMT offset value from a mail timestamp.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>A string like "+0100" or so. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>integer Minutes to offset the timestamp private </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00354">354</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. </td> </tr> </table> <a class="anchor" name="77c6cc54e2f685e45607242504b91842"></a><!-- doxytag: member="t3lib_readmail::getMailBoundaryParts" ref="77c6cc54e2f685e45607242504b91842" args="($boundary, $content)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::getMailBoundaryParts </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>boundary</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>content</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Splits the body of a mail into parts based on the boundary string given. Obsolete, use <a class="el" href="classt3lib__readmail.html#1046992b9ef05d0f3f43fc2c28251516">fullParse()</a><p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Boundary string used to split the content. </td></tr> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>BODY section of a mail </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array Parts of the mail based on this </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00153">153</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. <p> Referenced by <a class="el" href="class_8t3lib__readmail_8php-source.html#l00113">getMessage()</a>. </td> </tr> </table> <a class="anchor" name="c6286490ee48945a31dfd1c07a234f9d"></a><!-- doxytag: member="t3lib_readmail::getMessage" ref="c6286490ee48945a31dfd1c07a234f9d" args="($mailParts)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::getMessage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>mailParts</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns the text content of a mail which has previously been parsed by eg. <a class="el" href="classt3lib__readmail.html#8d24d3046fd0b5c245caa50374ca3384">extractMailHeader()</a> Probably obsolete since the function <a class="el" href="classt3lib__readmail.html#1046992b9ef05d0f3f43fc2c28251516">fullParse()</a> is more advanced and safer to use.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>array</em> </td><td>Output from <a class="el" href="classt3lib__readmail.html#8d24d3046fd0b5c245caa50374ca3384">extractMailHeader()</a> </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string The content. </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00113">113</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. <p> References <a class="el" href="class_8t3lib__readmail_8php-source.html#l00173">getCType()</a>, <a class="el" href="class_8t3lib__readmail_8php-source.html#l00153">getMailBoundaryParts()</a>, and <a class="el" href="class_8t3lib__readmail_8php-source.html#l00138">getTextContent()</a>. </td> </tr> </table> <a class="anchor" name="ac09598177b2244daafef72e85b2b674"></a><!-- doxytag: member="t3lib_readmail::getTextContent" ref="ac09598177b2244daafef72e85b2b674" args="($content)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::getTextContent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>content</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns the body part of a raw mail message (including headers) Probably obsolete since the function <a class="el" href="classt3lib__readmail.html#1046992b9ef05d0f3f43fc2c28251516">fullParse()</a> is more advanced and safer to use.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Raw mail content </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string Body of message </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00138">138</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. <p> References <a class="el" href="class_8t3lib__readmail_8php-source.html#l00368">extractMailHeader()</a>. <p> Referenced by <a class="el" href="class_8t3lib__readmail_8php-source.html#l00113">getMessage()</a>. </td> </tr> </table> <a class="anchor" name="4f766a45fe46c974037a6b6f773a74ab"></a><!-- doxytag: member="t3lib_readmail::makeUnixDate" ref="4f766a45fe46c974037a6b6f773a74ab" args="($dateStr)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::makeUnixDate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>dateStr</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Makes a UNIX-date based on the timestamp in the 'Date' header field.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>String with a timestamp according to email standards. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>integer The timestamp converted to unix-time in seconds and compensated for GMT/CET ($this->serverGMToffsetMinutes); </dd></dl> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00331">331</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="c3448790a6e6c414339b6cf55740e534"></a><!-- doxytag: member="t3lib_readmail::$dateAbbrevs" ref="c3448790a6e6c414339b6cf55740e534" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">t3lib_readmail::$dateAbbrevs </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <b>Initial value:</b><div class="fragment"><pre class="fragment"> array( 'JAN' => 1, 'FEB' => 2, 'MAR' => 3, 'APR' => 4, 'MAY' => 5, 'JUN' => 6, 'JUL' => 7, 'AUG' => 8, 'SEP' => 9, 'OCT' => 10, 'NOV' => 11, 'DEC' => 12 ) </pre></div> <p> Definition at line <a class="el" href="class_8t3lib__readmail_8php-source.html#l00084">84</a> of file <a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li>typo3_src-4.0.1/t3lib/<a class="el" href="class_8t3lib__readmail_8php-source.html">class.t3lib_readmail.php</a></ul> <?php include_once '../doc-typo3-funcs.php'; get_footer(); ?>