RE: [PHP-WIN] Emailing via mail(), secondary servers
| From: | HKG) | Date: | Wed, 11 Feb 2004 14:09:52 +0000 |
| Subject: | RE: [PHP-WIN] Emailing via mail(), secondary servers | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22787@lists.php.net to get a copy of this message | ||
PHP can do port connects, do a raw connect to port 25 (SMTP) at
<anyserver>, that would solve all your listed problems below.
There might be a smarter way, but a port connect will
give you full controll of your mail delivery.
-----Original Message-----
From: Paul J. Smith
To: php-windows@lists.php.net
Sent: 2004-02-11 12:13
Subject: [PHP-WIN] Emailing via mail(), secondary servers
Hi,
At the moment you only seem able to send mail via a specific host
specified in the ini file. I want some resilience so I can send
emails even if the first mail server cannot accept email.
Problem 1
As far as I know mail() returns no result so you cannot tell if your
first attempt to mail something was OK or not.
Problem 2
You can't override the relaying server ip in the mail() function.
Has anyone dealt with this? Any suggestions before I try and botch my
own solution?
Thanks.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php