in reply to forwarding emails with perl??
You can do this with Email::Folder and Email::Send quite easily:
Of course fixing some of the values as appropriate.use strict; use warnings; + use Email::Send; use Email::Folder; + my %received; my $box = Email::Folder->new('/home/jonathan/mail/Recruiters/'); while ( my $mail = $box->next_message ) { + $mail->header_set('To','jonathan@localhost'); send SMTP => $mail->as_string(), 'localhost'; }
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: forwarding emails with perl??
by chrisj0 (Acolyte) on Aug 03, 2005 at 18:10 UTC | |
|
Re^2: forwarding emails with perl??
by bfdi533 (Friar) on Sep 20, 2006 at 17:11 UTC | |
by gellyfish (Monsignor) on Sep 20, 2006 at 18:30 UTC | |
by bfdi533 (Friar) on Sep 20, 2006 at 21:02 UTC | |
by gellyfish (Monsignor) on Sep 20, 2006 at 21:30 UTC | |
by bfdi533 (Friar) on Sep 21, 2006 at 16:34 UTC | |
|
Re^2: forwarding emails with perl??
by chrisj0 (Acolyte) on Aug 08, 2005 at 17:54 UTC |