sendmail return-path (not 4 newbies)

From: Date: Fri, 03 May 2002 16:48:27 +0000
Subject: sendmail return-path (not 4 newbies)
Groups: php.general 
Request: Send a blank email to php-general+get-95943@lists.php.net to get a copy of this message
PROBLEM When a php script uses mail() and sendmail, if the e-mail address is not right, the e-mail is returned to the envelope sender (the hosting provider), NOT to the "From", "Reply-To", "Return-Path", or any other additional headers included in mail(). Apparently, this problem is faced by any user who utilizes a hosting provider. SOLUTION I've found 2 php classes (developed by Manuel Lemo) that address this problem. The first, email_message.php was built to send MIME-encoded messages. The second, sendmail_message extends the first by addressing the return-path problem. Unfortunately, the first parses the message to allow sending MIME-encoded messages. For many who are only sending plain text messages, this is unnecessary processing. HELP NEEDED I would like to consolidate these 2 classes and eliminate the parsing. Unfortunately, I'm a newbie and need help from the pros. If anyone is interested in participating in this project, please e-mail me directly at afrodriguez@att.net. After completion this "new" class would be submitted to www.phpclasses.org for everyone to use. Thanks! Anthony F. Rodriguez (afrodriguez@att.net)

« previous php.general (#95943) next »