It is being sent from a linux box and php 4.3.1
I do not know the aol version, I will have to check with my customer. Don't
know why it is in the headers...I just picked up the code today and trying
to make it work for him.
Mark Roberts, Roberts Computing Systems
eCommerce, yeah, we do that!
Graphics, Scripting, Databases, shopping carts
mailto:mark.robertsrobertscomputing.com
-----Original Message-----
From: Jennifer Goodie [mailto:goodieapollointeractive.com]
Sent: Thursday, August 07, 2003 8:49 PM
To: Mark Roberts; [email]php-generallists.php.net[/email]
Subject: RE: [PHP] AOL Email client
It appears to work fine in AOL 6.0 when I send from unix box using PHP 4.2.3> Here is what my header look like:
>
> $headers .= "MIME-Version: 1.0\r\n";
> $headers .= "Content-type: text/plain;
> cht=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";
>
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.
Bookmarks