SMTP/mail question

From: Date: Thu, 21 Jun 2001 02:09:10 +0000
Subject: SMTP/mail question
Groups: php.general 
Request: Send a blank email to php-general+get-54654@lists.php.net to get a copy of this message
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: bounce@myip.com real-receiver: someoneelse@yourip.com Mail to be sent: -- From: me@myip.com To: you@yourip.com Subject: TestMail Body-Text -- If the mail is delivered, the receiver (someoneelse@yourip.com) 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 bounce@myip.com 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

« previous php.general (#54654) next »