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 ;
20 # you don't need to use next line if you specified your password in new()
21 $server->login('user' => 'password') or die "Can't authenticate to POP3 server\n";
22
23 # handle will return number of processed mails
24 # you can organize loop if you want
25 do { $server->handle } while sleep 10;
26
27 # you may also call $server->quit explicitly to purge deleted messages
28
31 Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
32
33 This library is free software; you can redistribute it and/or modify it
34 under the same terms as Perl itself.
35
37 Paul Kulchenko (paulclinger@yahoo.com)
38
39
40
41perl v5.10.1 2009-09-30 XMLRPC::Transport::POP3(3)