Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use Net::IMAP::Simple;
- use Email::Simple;
- use Email::Address;
- $imap = Net::IMAP::Simple->new($server, port => $port, use_ssl => 1) || die "Unable to connect to IMAP: $Net::IMAP::Simple::errstr\n";
- imap->login($email, $pwd);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement