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: [EMAIL PROTECTED]
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

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

Reply via email to