about summary refs log tree commit
diff options
context:
space:
mode:
authorSteffen Ullrich <Steffen_Ullrich@genua.de>2014-05-16 22:43:59 +0200
committerSteffen Ullrich <Steffen_Ullrich@genua.de>2014-05-16 22:43:59 +0200
commit0bc7ec3288b6e55b582e446b720fa7b0d8a3ed9f (patch)
treec505db955a7d45b7638750010ccb6da9cf720173
parentef409a3c4e598cb0819886060d3f0ad5871ba263 (diff)
downloadperl-libnet-0bc7ec3288b6e55b582e446b720fa7b0d8a3ed9f.tar.gz
documentation updates
-rw-r--r--Net/POP3.pm8
-rw-r--r--Net/SMTP.pm1
2 files changed, 9 insertions, 0 deletions
diff --git a/Net/POP3.pm b/Net/POP3.pm
index 22c5f84..4a6089d 100644
--- a/Net/POP3.pm
+++ b/Net/POP3.pm
@@ -602,6 +602,7 @@ Net::POP3 - Post Office Protocol 3 Client class (RFC1939)
     # Constructors
     $pop = Net::POP3->new('pop3host');
     $pop = Net::POP3->new('pop3host', Timeout => 60);
+    $pop = Net::POP3->new('pop3host', SSL => 1, Timeout => 60);
 
     if ($pop->login($username, $password) > 0) {
       my $msgnums = $pop->list; # hashref of msgnum => size
@@ -704,6 +705,12 @@ will give a true value in a boolean context, but zero in a numeric context.
 
 If there was an error authenticating the user then I<undef> will be returned.
 
+=item starttls ( SSLARGS )
+
+Upgrade existing plain connection to SSL.
+You can use SSL arguments as documented in L<IO::Socket::SSL>, but it will
+usually use the right arguments already.
+
 =item apop ( [ USER [, PASS ]] )
 
 Authenticate with the server identifying as C<USER> with password C<PASS>.
@@ -805,6 +812,7 @@ means that any messages marked to be deleted will not be.
 
 L<Net::Netrc>,
 L<Net::Cmd>
+L<IO::Socket::SSL>
 
 =head1 AUTHOR
 
diff --git a/Net/SMTP.pm b/Net/SMTP.pm
index 6be2952..6f8f14a 100644
--- a/Net/SMTP.pm
+++ b/Net/SMTP.pm
@@ -960,6 +960,7 @@ accept the address surrounded by angle brackets.
 =head1 SEE ALSO
 
 L<Net::Cmd>
+L<IO::Socket::SSL>
 
 =head1 AUTHOR