# Net::SMTP::SSL - perldoc - [phpMan]

## NAME
    [Net::SMTP::SSL](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP%3A%3ASSL/markdown) - SSL support for [Net::SMTP](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown)

## SYNOPSIS
      use [Net::SMTP::SSL](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP%3A%3ASSL/markdown);

      my $smtps = [Net::SMTP::SSL](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP%3A%3ASSL/markdown)->new("example.com", Port => 465);

## DEPRECATED
    Hey! Read this!

    Since [Net::SMTP](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown) v1.28 (2014-10-08), [Net::SMTP](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown) itself has support for SMTP over SSL, and also for
    STARTTLS. Use [Net::SMTP](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown), not [Net::SMTP::SSL](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP%3A%3ASSL/markdown).

## DESCRIPTION
    Implements the same API as [Net::SMTP](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown), but uses [IO::Socket::SSL](https://www.chedong.com/phpMan.php/perldoc/IO%3A%3ASocket%3A%3ASSL/markdown) for its network operations. Due
    to the nature of "[Net::SMTP](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown)"'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](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown).

## SEE ALSO
    [Net::SMTP](https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP/markdown), [IO::Socket::SSL](https://www.chedong.com/phpMan.php/perldoc/IO%3A%3ASocket%3A%3ASSL/markdown), perl.

## AUTHOR
    Casey West, <<casey@geeknest.com>>.

## COPYRIGHT
      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.

