man-pages/man3/Net::SMTP::SSL.3pm.html
2021-03-31 01:06:50 +01:00

106 lines
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Net::SMTP::SSL</TITLE>
</HEAD><BODY>
<H1>Net::SMTP::SSL</H1>
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2016-10-30<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Net::SMTP::SSL - SSL support for Net::SMTP
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
use Net::SMTP::SSL;
my $smtps = Net::SMTP::SSL-&gt;new(&quot;example.com&quot;, Port =&gt; 465);
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DEPRECATED</H2>
<B>Hey! Read this!</B>
<P>
Since Net::SMTP v1.28 (2014-10-08), Net::SMTP itself has support for <FONT SIZE="-1">SMTP</FONT> over
<FONT SIZE="-1">SSL,</FONT> and also for <FONT SIZE="-1">STARTTLS. </FONT> Use Net::SMTP, not Net::SMTP::SSL.
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>
Implements the same <FONT SIZE="-1">API</FONT> as Net::SMTP, but uses
IO::Socket::SSL for its network operations. Due to
the nature of <TT>&quot;Net::SMTP&quot;</TT>'s <TT>&quot;new&quot;</TT> method, it is not overridden to make
use of a default port for the <FONT SIZE="-1">SMTPS</FONT> service. Perhaps future versions
will be smart like that. Port <TT>465</TT> is usually what you want, and it's
not a pain to specify that.
<P>
For interface documentation, please see Net::SMTP.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
Net::SMTP,
IO::Socket::SSL,
perl.
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Casey West, &lt;<I><A HREF="mailto:casey@geeknest.com">casey@geeknest.com</A></I>&gt;.
<A NAME="lbAH">&nbsp;</A>
<H2>COPYRIGHT</H2>
<PRE>
Copyright (c) 2004 Casey West. All rights reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
</PRE>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DEPRECATED</A><DD>
<DT id="4"><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">AUTHOR</A><DD>
<DT id="7"><A HREF="#lbAH">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:49 GMT, March 31, 2021
</BODY>
</HTML>