Click to See Complete Forum and Search --> : Errors-To: - Perl email?


Phil Karras
03-10-2003, 01:15 PM
I'm trying to use Errors-To: $MyEmail while sending an email so that if there is a bouce-back I'll receive the error message. Unfortunately it is not working.

Do I have the form correct? Is it:

print MAIL <<"To_Me";
To:$v_EList
Bcc:$SendTo
Errors-To: $MyEmail
from:$v_From
Subject:$v_Title

$v_Text

--------

To be removed from our email list send an email to the From: address.
(Please be sure to include the email address to be removed.)

To_Me
close MAIL;

jeffmott
03-11-2003, 02:53 PM
use Errors-To:Whoever told you to do that?!? What you to do is set the Return-Path: header to your e-mail address.

Phil Karras
03-11-2003, 03:48 PM
Thanks much, that did the trick! Sure wish my books had more info on emailing!

jeffmott
03-11-2003, 04:09 PM
Sure wish my books had more info on emailing!See http://www.faqs.org/ftp/rfc/rfc2821.txt for more on SMTP.

Phil Karras
03-12-2003, 10:38 AM
Thanks again, got it.