diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2015-09-03 08:28:57 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2015-09-03 08:28:57 +0100 |
commit | 959fe156ffd08ce92beedc04433d94ade65f3259 (patch) | |
tree | eb19315e39ecca930838cd6a3b3c638e4fbe687c /lib | |
parent | 8a6248ce3eeb8c147a99d73945437c713296579a (diff) | |
download | perl-libnet-959fe156ffd08ce92beedc04433d94ade65f3259.tar.gz |
SMTP: document passing of SASL instance to auth()
Based on a patch by Jan Viktorin <viktorin@rehivetech.com>. Fixes CPAN RT#106183.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Net/SMTP.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Net/SMTP.pm b/lib/Net/SMTP.pm index 9cfaa80..6d3e4c2 100644 --- a/lib/Net/SMTP.pm +++ b/lib/Net/SMTP.pm @@ -833,7 +833,11 @@ usually use the right arguments already. =item auth ( USERNAME, PASSWORD ) -Attempt SASL authentication. Requires Authen::SASL module. +=item auth ( SASL ) + +Attempt SASL authentication. Requires Authen::SASL module. The first form +constructs a new Authen::SASL object using the given username and password; +the second form uses the given Authen::SASL object. =item mail ( ADDRESS [, OPTIONS] ) |