Skip to content

kizashi1122/Net-POP3-XOAuth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Net::POP3::XOAuth2 - It enables to use XOAUTH2 authentication with Net::POP3

SYNOPSIS

use Net::POP3;
use Net::POP3::XOAuth2;

my $user = '<user_id>';
my $token = '<token from xoauth2>';

my $pop = Net::POP3->new('pop.gmail.com', Port => 995, Timeout => 30, SSL => 1, Debug => 1);
$pop->xoauth2($user, $token);

# or if you use office365
$pop->xoauth2($user, $token, 1);

DESCRIPTION

Net::POP3::XOAuth2 is an extension for Net::POP3. This allows you to use SASL XOAUTH2.

METHODS

  • xauth2 ( USER, TOKEN )

    Authenticate with the server identifying as USER with OAuth2 access token TOKEN.

LICENSE

Copyright (C) Kizashi Nagata.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Kizashi Nagata kizashi1122@gmail.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages