www.webdeveloper.com
Results 1 to 5 of 5

Thread: Errors-To: - Perl email?

  1. #1
    Join Date
    Feb 2003
    Location
    Mt Airy MD
    Posts
    379

    Errors-To: - Perl email?

    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:
    Code:
    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;

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    use Errors-To:
    Whoever told you to do that?!? What you to do is set the Return-Path: header to your e-mail address.

  3. #3
    Join Date
    Feb 2003
    Location
    Mt Airy MD
    Posts
    379
    Thanks much, that did the trick! Sure wish my books had more info on emailing!

  4. #4
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    Sure wish my books had more info on emailing!
    See http://www.faqs.org/ftp/rfc/rfc2821.txt for more on SMTP.

  5. #5
    Join Date
    Feb 2003
    Location
    Mt Airy MD
    Posts
    379
    Thanks again, got it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles