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: <[EMAIL PROTECTED]>'
)

It doesn't work! If I change 'Return-Path: <[EMAIL PROTECTED]>' to
'Reply-To: <[EMAIL PROTECTED]>' it does work.

Any ideas?


Regards,

Matthew Delmarter



-- 
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]

Reply via email to