I have recently been looking at the mail() function for a new project on a new dedicated server we have. I have copied "Example 4. Sending HTML email" from the PHP manual (http://uk.php.net/manual/en/function.mail.php
) exactly and tried sending the mail but all the headers get put into the email body and dont seem to want to stay in the header section of the email.
Is there a setting in Apache/PHP.ini that might be wrong as this is a server from an ISP? Maybe I haven't set something up properly?