RE: [PHP] AOL Email client

2003-08-14 Thread Mark Roberts
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:[EMAIL PROTECTED]

-Original Message-
From: Jennifer Goodie [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 8:49 PM
To: Mark Roberts; [EMAIL PROTECTED]
Subject: RE: [PHP] AOL Email client


> 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.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] AOL Email client

2003-08-14 Thread Roberts, Mark (Tulsa)
Ok, it seems to be AOL v8.

I am going to set down tonight and try all these options that I have seen here and see 
if they fix the problem. Thanks for all your help.

Mark Roberts 
Sr. Systems Analyst 




-Original Message-
From: Jennifer Goodie [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 8:49 PM
To: Mark Roberts; [EMAIL PROTECTED]
Subject: RE: [PHP] AOL Email client


> 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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] AOL Email client

2003-08-14 Thread Mark Roberts
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"; 

Mark Roberts, Roberts Computing Systems
eCommerce, yeah, we do that!
Graphics, Scripting, Databases, shopping carts
mailto:[EMAIL PROTECTED]

-----Original Message-----
From: Jennifer Goodie [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 8:14 PM
To: php list; [EMAIL PROTECTED]
Subject: RE: [PHP] AOL Email client


> I am using php mail and setting all my $headers info to show From:, To:,

What does your call to mail() look like?  How are you formatting you
headers?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] AOL Email client

2003-08-14 Thread Chris Shiflett
--- Mark Roberts <[EMAIL PROTECTED]> wrote:
> $headers .= "From: ".$name." <".$email.">\r\n";

My guess is that this line is what is causing your problems. Try this instead:

$headers .= "From: \"$name\" <$email>\r\n";

The difference is (aside from not using concatenation) that the name is quoted,
which is proper format, or at least it's how every mail client I have seen
formats it. Also, you should output your $headers as a test to make sure
everything is formatted like you think it is. Such a tactic might make things
like this more clear.

Hope that helps.

Chris

=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] AOL Email client

2003-08-08 Thread Miles Thompson
At 07:57 PM 8/7/2003 -0500, php list wrote:
I am using php mail and setting all my $headers info to show From:, To:,
etc.
It work perfectly on my computer. I use MS Outlook.
I am doing this for a client who received his email via his aol account.
When he receives the email, the email comes in with "Unknown Sender".
Is there issues with this? Do I need to so something different for AOL email
to receive this information properly?
Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo


Others know a lot more about email than me, and I don't know if this your 
system is Windows or *x, but quite likely the mail is sent with the 
identity of the web server.

We had this problem using the mail() function at Experthost, as we could 
not track the bounces, they went back to sendmail's "nobody" account, and 
the ones we originated could not be identified.

This isn't an answer, more a musing on what could be happening.

Cheers - Miles

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] AOL Email client

2003-08-08 Thread php list
I am using php mail and setting all my $headers info to show From:, To:,
etc.
It work perfectly on my computer. I use MS Outlook.
I am doing this for a client who received his email via his aol account.
When he receives the email, the email comes in with "Unknown Sender".

Is there issues with this? Do I need to so something different for AOL email
to receive this information properly?

Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo



mailto:[EMAIL PROTECTED]



RE: [PHP] AOL Email client

2003-08-07 Thread Jennifer Goodie
> 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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] AOL Email client

2003-08-07 Thread Jennifer Goodie
> I am using php mail and setting all my $headers info to show From:, To:,

What does your call to mail() look like?  How are you formatting you
headers?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php