Net::SMTP::SSL(3)

πŸ’– NAME πŸ’–

okay bestie, welcome to the Net::SMTP::SSL(3) page from the User Contributed Perl Documentation crew ✨ This module is Net::SMTP::SSL, and it's literally the SSL support for Net::SMTP. πŸ’…

πŸ“¨ SYNOPSIS πŸ“¨

here's the whole vibe, no cap:

  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. Periodt. 🫢

🌸 DESCRIPTION 🌸

It 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.

πŸ” SEE ALSO πŸ”

  • Net::SMTP
  • IO::Socket::SSL
  • perl

πŸ‘‘ AUTHOR πŸ‘‘

Casey West, <casey@geeknest.com>. 🫢

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.

and that's the footer tea, bestie: source/version perl v5.42.0, date 2016-10-11, and the manual name Net::SMTP::SSL(3) one more time because it's iconic. πŸ’–βœ¨

πŸ“¦ where this page comes from