chrisj0 has asked for the wisdom of the Perl Monks concerning the following question:
HI all,
I have about 600-700 email in maildir accounts of a dozen users I have to resend to another account. Some have attachments some are html and still some are just plain text. I've used MIME::Parser,Entity,Body,...etc... to parse emails and save attachments write log files etc... But I've never had to do a forward like this.
I have about 600-700 email in maildir accounts of a dozen users I have to resend to another account. Some have attachments some are html and still some are just plain text. I've used MIME::Parser,Entity,Body,...etc... to parse emails and save attachments write log files etc... But I've never had to do a forward like this.
I basically have to send the email so it looks as close to the original as possible. All attachments must be correct and intact the from address and reply to address should be the same and the only difference should be the To: address.
Is there a module that will do all of this. Or should I use the parser and then a smtp module? Will the body of a parsed email preserve the attachment when resend it?
Any help would be great.
Thanks,
chrisj
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: forwarding emails with perl??
by gellyfish (Monsignor) on Aug 03, 2005 at 17:55 UTC | |
by chrisj0 (Acolyte) on Aug 03, 2005 at 18:10 UTC | |
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 chrisj0 (Acolyte) on Aug 08, 2005 at 17:54 UTC | |
Re: forwarding emails with perl??
by jhourcle (Prior) on Aug 03, 2005 at 17:49 UTC | |
Re: forwarding emails with perl??
by sgifford (Prior) on Aug 03, 2005 at 20:51 UTC | |
Re: forwarding emails with perl??
by cajun (Chaplain) on Aug 04, 2005 at 04:37 UTC | |
Re: forwarding emails with perl??
by shiza (Hermit) on Aug 03, 2005 at 23:04 UTC |
Back to
Seekers of Perl Wisdom