1XMLRPC::Transport::POP3U(s3e)r Contributed Perl DocumentaXtMiLoRnPC::Transport::POP3(3)
2
3
4
6 XMLRPC::Transport::POP3 - Server side POP3 support for XMLRPC::Lite
7
9 use XMLRPC::Transport::POP3;
10
11 my $server = XMLRPC::Transport::POP3::Server
12 -> new('pop://pop.mail.server')
13 # if you want to have all in one place
14 # -> new('pop://user:password@pop.mail.server')
15 # or, if you have server that supports MD5 protected passwords
16 # -> new('pop://user:password;AUTH=+APOP@pop.mail.server')
17 # specify path to My/Examples.pm here
18 -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method');
19 # you don't need to use next line if you specified your password in new()
20 $server->login('user' => 'password') or die "Can't authenticate to POP3 server\n";
21
22 # handle will return number of processed mails
23 # you can organize loop if you want
24 do { $server->handle } while sleep 10;
25
26 # you may also call $server->quit explicitly to purge deleted messages
27
30 Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
31
32 This library is free software; you can redistribute it and/or modify it
33 under the same terms as Perl itself.
34
36 Paul Kulchenko (paulclinger@yahoo.com)
37
38
39
40perl v5.32.1 2021-01-27 XMLRPC::Transport::POP3(3)