note 71553 modified in ref.mail by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 20:11:43 +0000 |
| Subject: | note 71553 modified in ref.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155352@lists.php.net to get a copy of this message | ||
I was having problems with all php emails showing up on my Exchange server as attachements instead
of normal emails. I discovered that Exchange needs the MIME Version header. I simply added this to
the beginning of my email headers:
<?php
$headers .= "MIME-Version: 1.0\r\n";
?>
Now messages show up properly when they arrive at my Exchange server.
--was--
I was having problems with all php emails showing up on my Exchange server as attachements instead
of normal emails. I discovered that Exchange needs the MIME Version header. I simply added this to
the beginning of my email headers:
$headers .= "MIME-Version: 1.0\r\n";
Now messages show up properly when they arrive at my Exchange server.
http://php.net/manual/en/ref.mail.php