Hi everyone!
I'm using MIME::Lite so send some emails with some pdfs attached.
I need to redirect the bounced email to a certain address. So I used Errors-To: header field. (I do not want to modify the Return-path header field)
my $msg = MIME::Lite->new( From => $from, Reply-To => $replyto, To => $email, Cc => $temp_email, Bcc => $cemail, Errors-To => $errors, Subject => $subj, Type => $type, Data => $htmlt );
The problem is I don't receive the bounces.
I made a test, with 2 invalid addresses (one with an unexisting domain and one with an unexisting user) and I receive no bounce at all.
More if I list the header of the email:
I get: Header: Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1082036677888920" MIME-Version: 1.0 Date: Thu, 15 Apr 2004 05:30:40 -0800 From: LKK Cc: test@test.com Subject: Distribution Code:2 X-Mailer: MIME::Lite 3.01_03 (F2.71; A1.60; B3.00; Q3.00)$str = $msg->header_as_string; print "\n<br> Header: \n<br>".$str."<br>\n";
In reply to MIME::Lite + bounce email address by marynella
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |