diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | lib/Net/SMTP.pm | 6 |
2 files changed, 8 insertions, 1 deletions
@@ -2,6 +2,9 @@ Revision history for Perl distribution libnet 3.08 Development + - Documented the fact that Net::SMTP::auth() can accept an Authen::SASL + object instead of a username and password. [Jan Viktorin, CPAN RT#106183] + - Simplified specification of INSTALLDIRS: We do not need to check the lower bound since we only support Perl 5.8.1 and higher anyway. 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] ) |