1Net::SMTP::SSL(3) User Contributed Perl Documentation Net::SMTP::SSL(3)
2
3
4
6 Net::SMTP::SSL - SSL support for Net::SMTP
7
9 use Net::SMTP::SSL;
10
11 my $smtps = Net::SMTP::SSL->new("example.com", Port => 465);
12
14 Hey! Read this!
15
16 Since Net::SMTP v1.28 (2014-10-08), Net::SMTP itself has support for
17 SMTP over SSL, and also for STARTTLS. Use Net::SMTP, not
18 Net::SMTP::SSL.
19
21 Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its
22 network operations. Due to the nature of "Net::SMTP"'s "new" method, it
23 is not overridden to make use of a default port for the SMTPS service.
24 Perhaps future versions will be smart like that. Port 465 is usually
25 what you want, and it's not a pain to specify that.
26
27 For interface documentation, please see Net::SMTP.
28
30 Net::SMTP, IO::Socket::SSL, perl.
31
33 Casey West, <casey@geeknest.com>.
34
36 Copyright (c) 2004 Casey West. All rights reserved.
37 This module is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40
41
42perl v5.32.0 2020-07-28 Net::SMTP::SSL(3)