Script stoping with no error when parsing a mail attachment of 3 MB
<p>I am having troubles with a email parser when a attachment larger than 2MB is being encoded in base64.</p>

<p>The encoder I am using is called  mime_parser.php made by Manuel Lemos <a href="http://www.phpclasses.org/package/3169-PHP-Decode-MIME-e-mail-messages.html" rel="nofollow">http://www.phpclasses.org/package/3169-PHP-Decode-MIME-e-mail-messages.html</a></p>

<p>This is the part of my code where the script just stops and prints only half of <code>var_dump</code>, it's like the script timed out:</p>

<pre><code>$parameters2=array('File'=&gt;$message_file,'SaveBody'=&gt;'tmp/','SkipBody'=&gt;1);
                echo "&lt;div style='display: none;'&gt;";
                $success2 = $mime-&gt;Decode($parameters2, $decoded2);             
                echo "&lt;/div&gt;";

                $mime-&gt;Analyze($decoded2[0], $results);
</code></pre>

<p>I also added this lines at the top of the code to ensure that there is no time limit or memory limit and I am positive that there is no <code>safe_mode on</code> on the server</p>

<pre><code>set_time_limit(0);
ini_set("memory_limit","1024M");
error_reporting(-1);
</code></pre>

<p>Also no errors/notice/warnings are reported. Anyone has any idea on what to check to make this work ?</p>
