Hi,
I sent a message last day with subject "perl2php - question" - but I think I
will describe the problem, I solved with perl, instead of asking for a
perl2php-code:
if I send a mail with the php-mail()-function, and the mail bounces (wrong
address - server down ...), the sysadmin of my ISP will get this bouncing
mail!
I tried all possible headers (Return-Path, Error-To, Sender, ...) to
redirect the bouncing mail to my address but nothing worked - all bouncing-mails go
to root!
In Perl I found a way to write a mail as usual, *but* I send the mail by
specifying the real-sender and the real-receiver!!!
real-sender: [EMAIL PROTECTED]
real-receiver: [EMAIL PROTECTED]
Mail to be sent:
--
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: TestMail
Body-Text
--
If the mail is delivered, the receiver ([EMAIL PROTECTED]) will only
see what is written in the mail above (he won't see the real-sender and the
real-receiver in any header)!
If the mail isn't delivered correctly [EMAIL PROTECTED] will get a message!
And I want to implement this with php!!!
Is this possible???
(for an example you can look at
http://perl.about.com/compute/perl/library/weekly/aa022000d.htm )
thanks
michi
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
GMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]