Something you may have noticed from the example is that the From line ended with
\n. This is acutally a very important character when sending e-mail. It is the
new line character and tells PHP to take a new line in an e-mail. It is very
important that this is put in after each header you add so that your e-mail will
follow the international standards and will be delivered.
The \n code can also be used in the body section of the e-mail to put line breaks
in but should not be used in the subject or the To field