Monthly Archives: April 2016

Script to download email and attachment using perl

Download email and attachment using Perl script. #!/usr/bin/perl use strict; use warnings; use Net::POP3; use Email::MIME; #use Email::MIME::Attachment::Stripper; my $pop3server = ‘mypopservername'; my $username   = ‘myemail@address'; my $password   = ‘myPassW0rd'; my $popclient = Net::POP3->new( $pop3server, Timeout => 60 ); if … Continue reading

Posted in Perl Script | Tagged , , , , , | Leave a comment