1SOAP::Transport::POP3(3U)ser Contributed Perl DocumentatiSoOnAP::Transport::POP3(3)
2
3
4
6 SOAP::Transport::POP3 - Server side POP3 support for SOAP::Lite
7
9 use SOAP::Transport::POP3;
10
11 my $server = SOAP::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 list of objects-by-reference here
18 -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat))
19 # specify path to My/Examples.pm here
20 -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method')
21 ;
22 # you don't need to use next line if you specified your password in new()
23 $server->login('user' => 'password') or die "Can't authenticate to POP3 server\n";
24
25 # handle will return number of processed mails
26 # you can organize loop if you want
27 do { $server->handle } while sleep 10;
28
29 # you may also call $server->quit explicitly to purge deleted messages
30
33 Copyright (C) 2000-2001 Paul Kulchenko. All rights reserved.
34
35 This library is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
39 Paul Kulchenko (paulclinger@yahoo.com)
40
41
42
43perl v5.34.0 2022-01-21 SOAP::Transport::POP3(3)