Net::SMTP::SSL(3pm)

Net::SMTP::SSL3pm

Ssl support for net::smtp

Usage

  use Net::SMTP::SSL;
  
  my $smtps = Net::SMTP::SSL->new("example.com", Port => 465);

Deprecated

Hey! Read this!

Since Net::SMTP v1.28 (2014-10-08), Net::SMTP itself has support for SMTP over SSL, and also for STARTTLS. Use Net::SMTP, not Net::SMTP::SSL.

Overview

Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its network operations. Due to the nature of "Net::SMTP"'s "new" method, it is not overridden to make use of a default port for the SMTPS service. Perhaps future versions will be smart like that. Port 465 is usually what you want, and it's not a pain to specify that.

For interface documentation, please see Net::SMTP.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0–6.0
  2. 7–8
  3. 9–11
  4. 12–13
  5. Arch

Author

Casey West, <[email protected]>.

From perl-net-smtp-ssl 1.04-5 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.