{
    "content": [
        {
            "type": "text",
            "text": "# Mail::Transport::Receive (perldoc)\n\n## NAME\n\nMail::Transport::Receive - receive messages\n\n## SYNOPSIS\n\nmy $receiver = Mail::Transport::POP3->new(...);\nmy $message = $receiver->receive($id);\n\n## DESCRIPTION\n\nEach object which extends Mail::Transport::Receive implement a protocol which can get messages\ninto your application. The internals of each implementation can differ quite a lot, so have a\nlook at each separate manual page as well.\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::Receive",
        "section": "",
        "mode": "perldoc",
        "summary": "Mail::Transport::Receive - receive messages",
        "synopsis": "my $receiver = Mail::Transport::POP3->new(...);\nmy $message = $receiver->receive($id);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "INHERITANCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Constructors",
                        "lines": 5
                    },
                    {
                        "name": "Receiving mail",
                        "lines": 4
                    },
                    {
                        "name": "Server connection",
                        "lines": 11
                    },
                    {
                        "name": "Error handling",
                        "lines": 41
                    },
                    {
                        "name": "Cleanup",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Mail::Transport::Receive - receive messages\n",
                "subsections": []
            },
            "INHERITANCE": {
                "content": "Mail::Transport::Receive\nis a Mail::Transport\nis a Mail::Reporter\n\nMail::Transport::Receive is extended by\nMail::Transport::IMAP4\nMail::Transport::POP3\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "my $receiver = Mail::Transport::POP3->new(...);\nmy $message = $receiver->receive($id);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Each object which extends Mail::Transport::Receive implement a protocol which can get messages\ninto your application. The internals of each implementation can differ quite a lot, so have a\nlook at each separate manual page as well.\n\nCurrent message receivers:\n\n*   Mail::Transport::POP3\n\nImplements the POP3 protocol. See also Mail::Box::POP3.\n\nExtends \"DESCRIPTION\" in Mail::Transport.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "Extends \"METHODS\" in Mail::Transport.\n",
                "subsections": [
                    {
                        "name": "Constructors",
                        "content": "Extends \"Constructors\" in Mail::Transport.\n\nMail::Transport::Receive->new(%options)\nInherited, see \"METHODS\" in Mail::Transport\n"
                    },
                    {
                        "name": "Receiving mail",
                        "content": "$obj->receive( [$uniquemessageid] )\nReceive one message from the remote server. Some receivers will provide the next message\nautomatically, other are random access and use the specified ID.\n"
                    },
                    {
                        "name": "Server connection",
                        "content": "Extends \"Server connection\" in Mail::Transport.\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.\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::Receive->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::Receive->log( [$level, [$strings]] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->logPriority($level)\nMail::Transport::Receive->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.\n\n$obj->DESTROY()\nInherited, see \"Cleanup\" in Mail::Reporter\n"
                    }
                ]
            },
            "DIAGNOSTICS": {
                "content": "Warning: Avoid program abuse: specify an absolute path for $exec.\nSpecifying explicit locations for executables of email transfer agents should only be done\nwith absolute file names, to avoid various pontential security problems.\n\nWarning: Executable $exec does not exist.\nThe explicitly indicated mail transfer agent does not exists. The normal settings are used\nto find the correct location.\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",
                "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": []
            }
        }
    }
}