marynella has asked for the wisdom of the Perl Monks concerning the following question:
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MIME::Lite + bouce email address
by tachyon (Chancellor) on Apr 15, 2004 at 12:47 UTC | |
by marynella (Novice) on Apr 15, 2004 at 14:25 UTC | |
by iburrell (Chaplain) on Apr 15, 2004 at 20:30 UTC | |
by marynella (Novice) on Apr 16, 2004 at 10:11 UTC | |
by tachyon (Chancellor) on Apr 16, 2004 at 14:55 UTC | |
|
Re: MIME::Lite + bouce email address
by neilwatson (Priest) on Apr 15, 2004 at 12:53 UTC | |
by marynella (Novice) on Apr 15, 2004 at 14:48 UTC |