I have a Media Temple Dedicated Virtual server that has just been upgraded to PHP Version 5.2.6
Ever since they upgraded the PHP version, all mail sent using PHP's sendmail() function comes though with out a subject line and looks like this:
Content-type: text/html; charset=iso-8859-1
To: Admin <foo@aol.com>
From: GTDC <foo@aol.com>
Thank you for your registration to the Conference
scheduled for May 12.
<br><br>
To view the agenda, please visit <a href='http://www.foo.com'>http://www.foo.com</a>. To make
hotel reservations, please visit <a href='http://www.foo.com'>http://www.foo.com</a>.
<br><br>
If you have any additional questions, please contact Me at
<a href='mailto:foo@aol.com'>foo@aol.com</a>
All emails show their markup as text, and the headers are in the body of the email. It does the same thing if I turn the content type to text/plain.
I've contacted Media Temple and they say it's a PHP issue, and since they just sell server space, they can't help. Can anyone figure out why the mail is coming though this way? It's a huge problem because I have about 50 sites on the server and they're alll effected :/
Regards,
Matt