Trying to suppress mail library echos by ob_start and ob_end_clean
<p>REF : <a href="http://stackoverflow.com/questions/486181/php-suppress-output-within-a-function">PHP: Suppress output within a function?</a></p>

<p>Using the method suggested at the above link, i tried to suppress the output of mail function in PHPMAILER. But seems it suppresses the mail itself. What's the alternative to suppress the echos by mail library, so that a single echo $returnValue can be achieved ?</p>

<pre><code>ob_start();
    include('mail.php');   //&lt;&lt; USING PHPMAILER 
ob_end_clean();

echo $returnValue
</code></pre>
