mail headers problem

From: Date: Thu, 13 Dec 2001 04:56:00 +0000
Subject: mail headers problem
Groups: php.general 
Request: Send a blank email to php-general+get-77539@lists.php.net to get a copy of this message
I am using the HTML Email Class from Richard Heyes. Using the sendmail command I want to change the headers on the email so that the Return-Path is different from the To: data. The script looks like this: $mail->send( $row->firstname, $row->email, $newsletter_name, $newsletter_email, $newsletter_subject, 'Return-Path: <address@domain.com>' ) It doesn't work! If I change 'Return-Path: <address@domain.com>' to 'Reply-To: <address@domain.com>' it does work. Any ideas? Regards, Matthew Delmarter

« previous php.general (#77539) next »