RE: [PHP] AOL Email client
| From: | Jennifer Goodie | Date: | Fri, 08 Aug 2003 01:48:39 +0000 |
| Subject: | RE: [PHP] AOL Email client | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158758@lists.php.net to get a copy of this message | ||
> Here is what my header look like:
>
> $headers .= "MIME-Version: 1.0\r\n";
> $headers .= "Content-type: text/plain;
> charset=us-ascii\r\n";
> $headers .= "From: ".$name." <".$email.">\r\n";
> $headers .= "To: ".$myname." <".$toAddress.">\r\n";
> $headers .= "Reply-To: ".$name." <".$email.">\r\n";
> $headers .= "X-Priority: 1\r\n";
> $headers .= "X-MSMail-Priority: High\r\n";
> $headers .= "X-Mailer: Just My Server";
>
It appears to work fine in AOL 6.0 when I send from unix box using PHP 4.2.3
and sendmail, what version of AOL are you having problems with, what server
platform and PHP version are you using to send? If you are using the php
mail function you must be passing To as the first parameter since it is not
optional, so why are putting it in your headers as well? If I remember
correctly, RFC2822 states there should only be 1 to header.