Advertisement
trimed

Untitled

Apr 28th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.22 KB | None | 0 0
  1. use Net::IMAP::Simple;
  2. use Email::Simple;
  3. use Email::Address;
  4.  
  5. $imap  = Net::IMAP::Simple->new($server, port => $port, use_ssl => 1) || die "Unable to connect to IMAP: $Net::IMAP::Simple::errstr\n";
  6. imap->login($email, $pwd);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement