{
    "content": [
        {
            "type": "text",
            "text": "# Log::Dispatch::Email::MailSender (perldoc)\n\n## NAME\n\nLog::Dispatch::Email::MailSender - Subclass of Log::Dispatch::Email that uses the Mail::Sender module\n\n## SYNOPSIS\n\nuse Log::Dispatch;\nmy $log = Log::Dispatch->new(\noutputs => [\n[\n'Email::MailSender',\nminlevel => 'emerg',\nto        => [qw( foo@example.com bar@example.org )],\nsubject   => 'Big error!'\n]\n],\n);\n$log->emerg(\"Something bad is happening\");\n\n## DESCRIPTION\n\nThis is a subclass of Log::Dispatch::Email that implements the sendemail method using the\nMail::Sender module.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTOR**\n- **SUPPORT**\n- **SOURCE**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Log::Dispatch::Email::MailSender",
        "section": "",
        "mode": "perldoc",
        "summary": "Log::Dispatch::Email::MailSender - Subclass of Log::Dispatch::Email that uses the Mail::Sender module",
        "synopsis": "use Log::Dispatch;\nmy $log = Log::Dispatch->new(\noutputs => [\n[\n'Email::MailSender',\nminlevel => 'emerg',\nto        => [qw( foo@example.com bar@example.org )],\nsubject   => 'Big error!'\n]\n],\n);\n$log->emerg(\"Something bad is happening\");",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CONSTRUCTOR",
                "lines": 40,
                "subsections": []
            },
            {
                "name": "SUPPORT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SOURCE",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Log::Dispatch::Email::MailSender - Subclass of Log::Dispatch::Email that uses the Mail::Sender\nmodule\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 2.70\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Log::Dispatch;\n\nmy $log = Log::Dispatch->new(\noutputs => [\n[\n'Email::MailSender',\nminlevel => 'emerg',\nto        => [qw( foo@example.com bar@example.org )],\nsubject   => 'Big error!'\n]\n],\n);\n\n$log->emerg(\"Something bad is happening\");\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a subclass of Log::Dispatch::Email that implements the sendemail method using the\nMail::Sender module.\n",
                "subsections": []
            },
            "CONSTRUCTOR": {
                "content": "The constructor takes the following parameters in addition to the parameters documented in\nLog::Dispatch::Output and Log::Dispatch::Email:\n\n*   smtp ($)\n\nThe smtp server to connect to. This defaults to \"localhost\".\n\n*   port ($)\n\nThe port to use when connecting. This defaults to 25.\n\n*   auth ($)\n\nOptional. The SMTP authentication protocol to use to login to the server. At the time of\nwriting Mail::Sender only supports LOGIN, PLAIN, CRAM-MD5 and NTLM.\n\nSome protocols have module dependencies. CRAM-MD5 depends on Digest::HMACMD5 and NTLM on\nAuthen::NTLM.\n\n*   authid ($)\n\nOptional. The username used to login to the server.\n\n*   authpwd ($)\n\nOptional. The password used to login to the server.\n\n*   tlsrequired ($)\n\nOptional. If you set this option to a true value, Mail::Sender will fail whenever it's\nunable to use TLS.\n\n*   fakefrom ($)\n\nThe From address that will be shown in headers. If not specified we use the value of from.\n\n*   replyto ($)\n\nThe reply-to address.\n",
                "subsections": []
            },
            "SUPPORT": {
                "content": "Bugs may be submitted at <https://github.com/houseabsolute/Log-Dispatch/issues>.\n\nI am also usually active on IRC as 'autarch' on \"irc://irc.perl.org\".\n",
                "subsections": []
            },
            "SOURCE": {
                "content": "The source code repository for Log-Dispatch can be found at\n<https://github.com/houseabsolute/Log-Dispatch>.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Rolsky <autarch@urth.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is Copyright (c) 2020 by Dave Rolsky.\n\nThis is free software, licensed under:\n\nThe Artistic License 2.0 (GPL Compatible)\n\nThe full text of the license can be found in the LICENSE file included with this distribution.\n",
                "subsections": []
            }
        }
    }
}