this is a common problem with msg.php and is generally caused when editing the file.
upload a "clean" copy of msg.php - from the distribution zip file and unmodified in any way. Make sure you upload in ASCII mode.
that should eliminate the error. test it and see.
now you can make changes. you MUST use an ASCII text editor to edit the file. Not dreamweaver or front page or even word pad, etc. I use editplus.
NOTHING should come before the <?php or after the ?>. that is what is causing your error. the beginning of the file is easy. all you have to do is look at it. the end of the file may not be as easy especially if your text editor does not show spaces. To find the "bottom" go to the end of the document and hold down the down arrow key. Once the cursor stops moving you can then use the backspace key until you delete the > from the ?>. Now add the > back and save the file and upload.
.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.