RE: [PHP] Problems sending mail to aol with the mail() function
| From: | PHPBeginner.com | Date: | Sat, 24 Feb 2001 06:16:25 +0000 |
| Subject: | RE: [PHP] Problems sending mail to aol with the mail() function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41450@lists.php.net to get a copy of this message | ||
I cannot help you, but I KNOW you are not the only one,
I've been asked this question already, and, I think I've seen something on
php.net under mail() ...
I believe this is your XSender thing, but not sure ...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Steve Kenshalo [mailto:Steve@Exit1Mile.com]
Sent: Friday, February 23, 2001 9:07 AM
To: php-general@lists.php.net
Subject: [PHP] Problems sending mail to aol with the mail() function
Hello,
I am working on a PHP script for an e-commerce site that mails out calling
card pin numbers after somebody purchases them online. Turing testing I not
noticed that aol users were not receiving the messages. AOL seems to be
filtering them out without sending a bounce or anything. We tried it with
multiple aol users, and nothing I tried when using the mail function got
through, but messages sent from the server with pine and the php mail
package SquirrelMail do get through. The messages are received on every
other mail system I have tried.
I know this is more of a mail question, but I was hoping somebody here and
encountered this before and knew of a workaround. I noticed that
SquirrelMail doesn't use the mail function, they chose to write their own
SMPT package. I wonder why?
Anyway, my test scripts look like this:
<?php
mail("steve@exit1mile.com", "Test 1",
"This is a test",
"From: Steve@Exit1Mile.com\nReply-To: Steve@Exit1Mile.com\nX-Mailer: My
test mail program\nX-Sender: Steve@Exit1Mile.com\nContent-Type: text/plain;
charset=\"us-ascii\"");
echo "Mail sent!";
?>
I tried playing around with different headers and nothing made any
difference. I sent them to myself and they sure look like valid email
messages to me. Does anybody else have this problem? What did you do about
it?
Thanks,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net