Could use Net::POP3 to fetch the whole message, then use MIME::Lite(::*)
to parse it and get the attachment (given the case you know something
about rfc822).

regards.


> -------- Original Message --------
> Subject: Strip email attachments using IMAP.
> From: Meghanand Acharekar <vasco.deb...@gmail.com>
> Date: Sat, April 18, 2009 3:26 am
> To: beginners <beginners@perl.org>
> 
> 
> Hi,
> 
> Is it possible to strip email attachments from a remote IMAP folders & save
> or download  them on local system (system on which script is running)
> 
> I written a simple script using perl IMAPClient which connects IMAP server
> and read emails from there, but found no method to strip attachments ?
> 
> Any Ideas.
> 
> 
> -- 
> Regards,
> 
> Meghanand N. Acharekar
> " A proud Linux User "
> Reg Linux User  #397975
> ------------------------------------------
> I was born free! No Gates and Windows can restrict my Freedom !!!


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to