mail - sendmail
| From: | Michael Mehlmann | Date: | Thu, 02 Aug 2001 15:47:09 +0000 |
| Subject: | mail - sendmail | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-60936@lists.php.net to get a copy of this message | ||
Hi!
I wanted to use the full SMTP-Protocol including "MAIL FROM:" and "RCPT
TO:", and therefore I can't use mail().
I have written a perl-script, I call from PHP, that connects to the
SMTP-server directly and this worked fine - until a server went down, and my
ISP's-SMTP-Server told my perl-script, that the emailaddress is not routable.
If the mail had been in a mailqueue, no problem - after a few hours it would
be up again!
So is there a way to combine these 2 features?
1. give the mail not directly to the SMTP-Server, but to the mailqueue
2. use the full SMTP-Protocol:
for example:
--
MAIL FROM: bounce@mydomain.com
RCPT TO: recipient@someotherdomain.com
From: Newsletter <webmaster@mydomain.com>
To: Newsletter-List <newsletter-list@mydomain.com>
Subject: blabla
BODY ...
--
thanks
Michi
--
Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne
Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a