Re: Mail::Box resend problem
Mark Overmeer <[email protected]> Fri, 28 Jan 2005 20:01:58 +0100
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Organization | MARKOV Solutions |
| Message-ID | <[email protected]> |
* Slaven Rezic ([email protected]) [050128 14:02]: > using a simple script which just does: > my $bounce = $message->bounce; > $bounce->send; > > fails with the message > > No recipient addresses found in header Gilles is right, you need to specify a new destination of the message. You are not the first to stumble in this pit, so I have added an error message in case no parameters are passed: =error bounce requires To, Cc, or Bcc The message M<bounce()> method forwards a received message off to someone else without modification; you must specified it's new destination. If you have the urge not to specify any destination, you probably are looking for M<reply()>. When you wish to modify the content, use M<forward()>. > PS: Do we meet us in this year's german perl workshop? Yes, I will. Looking forward to meet you again. -- MarkOv ------------------------------------------------------------------------ drs Mark A.C.J. Overmeer MARKOV Solutions [email protected] [email protected] http://Mark.Overmeer.net http://solutions.overmeer.net