{
    "content": [
        {
            "type": "text",
            "text": "# Mail::Transport::Exim (perldoc)\n\n## NAME\n\nMail::Transport::Exim - transmit messages using external Exim program\n\n## SYNOPSIS\n\nmy $sender = Mail::Transport::Exim->new(...);\n$sender->send($message);\n\n## DESCRIPTION\n\nImplements mail transport using the external 'Exim' program. When instantiated, the mailer will\nlook for the binary in specific system directories, and the first version found is taken.\n\n## Sections\n\n- **NAME**\n- **INHERITANCE**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (5 subsections)\n- **DIAGNOSTICS**\n- **SEE ALSO**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Mail::Transport::Exim",
        "section": "",
        "mode": "perldoc",
        "summary": "Mail::Transport::Exim - transmit messages using external Exim program",
        "synopsis": "my $sender = Mail::Transport::Exim->new(...);\n$sender->send($message);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "INHERITANCE",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Constructors",
                        "lines": 33
                    },
                    {
                        "name": "Sending mail",
                        "lines": 13
                    },
                    {
                        "name": "Server connection",
                        "lines": 11
                    },
                    {
                        "name": "Error handling",
                        "lines": 41
                    },
                    {
                        "name": "Cleanup",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 25,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Mail::Transport::Exim - transmit messages using external Exim program\n",
                "subsections": []
            },
            "INHERITANCE": {
                "content": "Mail::Transport::Exim\nis a Mail::Transport::Send\nis a Mail::Transport\nis a Mail::Reporter\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "my $sender = Mail::Transport::Exim->new(...);\n$sender->send($message);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Implements mail transport using the external 'Exim' program. When instantiated, the mailer will\nlook for the binary in specific system directories, and the first version found is taken.\n\nExtends \"DESCRIPTION\" in Mail::Transport::Send.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "Extends \"METHODS\" in Mail::Transport::Send.\n",
                "subsections": [
                    {
                        "name": "Constructors",
                        "content": "Extends \"Constructors\" in Mail::Transport::Send.\n\nMail::Transport::Exim->new(%options)\nIf you have Exim installed in a non-standard location, you will need to specify the path,\nusing new(proxy).\n\n-Option    --Defined in     --Default\nexecutable  Mail::Transport  undef\nhostname    Mail::Transport  'localhost'\ninterval    Mail::Transport  30\nlog         Mail::Reporter   'WARNINGS'\npassword    Mail::Transport  undef\nport        Mail::Transport  undef\nproxy       Mail::Transport  undef\nretry       Mail::Transport  <false>\ntimeout     Mail::Transport  120\ntrace       Mail::Reporter   'WARNINGS'\nusername    Mail::Transport  undef\nvia         Mail::Transport  'exim'\n\nexecutable => FILENAME\nhostname => HOSTNAME|ARRAY\ninterval => SECONDS\nlog => LEVEL\npassword => STRING\nport => INTEGER\nproxy => PATH\nretry => NUMBER|undef\ntimeout => SECONDS\ntrace => LEVEL\nusername => STRING\nvia => CLASS|NAME\n"
                    },
                    {
                        "name": "Sending mail",
                        "content": "Extends \"Sending mail\" in Mail::Transport::Send.\n\n$obj->destinations( $message, [$address|ARRAY] )\nInherited, see \"Sending mail\" in Mail::Transport::Send\n\n$obj->putContent($message, $fh, %options)\nInherited, see \"Sending mail\" in Mail::Transport::Send\n\n$obj->send($message, %options)\nInherited, see \"Sending mail\" in Mail::Transport::Send\n\n$obj->trySend($message, %options)\n"
                    },
                    {
                        "name": "Server connection",
                        "content": "Extends \"Server connection\" in Mail::Transport::Send.\n\n$obj->findBinary( $name, [@directories] )\nInherited, see \"Server connection\" in Mail::Transport\n\n$obj->remoteHost()\nInherited, see \"Server connection\" in Mail::Transport\n\n$obj->retry()\nInherited, see \"Server connection\" in Mail::Transport\n"
                    },
                    {
                        "name": "Error handling",
                        "content": "Extends \"Error handling\" in Mail::Transport::Send.\n\n$obj->AUTOLOAD()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->addReport($object)\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level, $callback] )\nMail::Transport::Exim->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level, $callback] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->errors()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->log( [$level, [$strings]] )\nMail::Transport::Exim->log( [$level, [$strings]] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->logPriority($level)\nMail::Transport::Exim->logPriority($level)\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->logSettings()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->notImplemented()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->report( [$level] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->reportAll( [$level] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->trace( [$level] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->warnings()\nInherited, see \"Error handling\" in Mail::Reporter\n"
                    },
                    {
                        "name": "Cleanup",
                        "content": "Extends \"Cleanup\" in Mail::Transport::Send.\n\n$obj->DESTROY()\nInherited, see \"Cleanup\" in Mail::Reporter\n"
                    }
                ]
            },
            "DIAGNOSTICS": {
                "content": "Error: Errors when closing Exim mailer $program: $!\nThe Exim mail transfer agent did start, but was not able to handle the message correctly.\n\nWarning: Message has no destination\nIt was not possible to figure-out where the message is intended to go to.\n\nError: Package $package does not implement $method.\nFatal error: the specific package (or one of its superclasses) does not implement this\nmethod where it should. This message means that some other related classes do implement this\nmethod however the class at hand does not. Probably you should investigate this and probably\ninform the author of the package.\n\nWarning: Resent group does not specify a destination\nThe message which is sent is the result of a bounce (for instance created with\nMail::Message::bounce()), and therefore starts with a \"Received\" header field. With the\n\"bounce\", the new destination(s) of the message are given, which should be included as\n\"Resent-To\", \"Resent-Cc\", and \"Resent-Bcc\".\n\nThe \"To\", \"Cc\", and \"Bcc\" header information is only used if no \"Received\" was found. That\nseems to be the best explanation of the RFC.\n\nAs alternative, you may also specify the \"to\" option to some of the senders (for instance\nMail::Transport::SMTP::send(to) to overrule any information found in the message itself\nabout the destination.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "This module is part of Mail-Transport distribution version 3.005, built on July 22, 2020.\nWebsite: http://perl.overmeer.net/CPAN/\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself. See http://dev.perl.org/licenses/\n",
                "subsections": []
            }
        }
    }
}