After so much trouble I find out that when I use the flush function in my PHP mail script then I get garbage or dump characters on browser like below.
The code is below\[code\]if ($mail->Send()) { echo "<br><font color=darkgreen>[$num successful send to $to]</font> "; // flush(); return true;}\[/code\]If I comment that flush line then out is simple English but I uncomment that the whole page the text looks like garbage.Now is that a PHP problem, browser problem or server problem?If I use the same script from the shell, I mean execute inside the shell terminal then I can see the HTML output. But it does not work in browsers.