{
    "mode": "perldoc",
    "parameter": "Net::SMTP::SSL",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ASMTP%3A%3ASSL/json",
    "generated": "2026-07-04T22:40:19Z",
    "synopsis": "use Net::SMTP::SSL;\nmy $smtps = Net::SMTP::SSL->new(\"example.com\", Port => 465);",
    "sections": {
        "NAME": {
            "content": "Net::SMTP::SSL - SSL support for Net::SMTP\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::SMTP::SSL;\n\nmy $smtps = Net::SMTP::SSL->new(\"example.com\", Port => 465);\n",
            "subsections": []
        },
        "DEPRECATED": {
            "content": "Hey! Read this!\n\nSince Net::SMTP v1.28 (2014-10-08), Net::SMTP itself has support for SMTP over SSL, and also for\nSTARTTLS. Use Net::SMTP, not Net::SMTP::SSL.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its network operations. Due\nto the nature of \"Net::SMTP\"'s \"new\" method, it is not overridden to make use of a default port\nfor the SMTPS service. Perhaps future versions will be smart like that. Port 465 is usually what\nyou want, and it's not a pain to specify that.\n\nFor interface documentation, please see Net::SMTP.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::SMTP, IO::Socket::SSL, perl.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Casey West, <casey@geeknest.com>.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2004 Casey West.  All rights reserved.\nThis module is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself.\n",
            "subsections": []
        }
    },
    "summary": "Net::SMTP::SSL - SSL support for Net::SMTP",
    "flags": [],
    "examples": [],
    "see_also": []
}