Subject: | Net::SMTP->new: Port is undocumented |
Hi,
as originally reported in an old Debian bug,
<http://bugs.debian.org/100195>, the 'Port' argument to Net::SMTP->new
is undocumented.
Proposed trivial patch attached. Sorry if this hasn't been forwarded to
you earlier.
Thanks for your work on libnet,
--
Niko Tyni
ntyni@debian.org
Subject: | libnet-smtp-port.patch |
diff --git a/Net/SMTP.pm b/Net/SMTP.pm
index a28496d..82e1045 100644
--- a/Net/SMTP.pm
+++ b/Net/SMTP.pm
@@ -613,6 +613,8 @@ the C<PeerAddr> option in L<IO::Socket::INET>, or a reference to
an array with hosts to try in turn. The L</host> method will return the value
which was used to connect to the host.
+B<Port> - Port on the remote host to connect to (default is 25).
+
B<LocalAddr> and B<LocalPort> - These parameters are passed directly
to IO::Socket to allow binding the socket to a local port.