Email::Folder::Exchange::WebDAV - Email::Folder access to exchange folders via WebDAV
use Email::Folder::Exchange::WebDAV; my $folder = Email::Folder::Exchange::WebDAV->new('http://owa.myorg.com/user/Inbox', 'user', 'password'); for my $message ($folder->messages) { print "subject: " . $subject->header('Subject'); } for my $folder ($folder->folders) { print "folder uri: " . $folder->uri->as_string; print " contains " . scalar($folder->messages) . " messages"; print " contains " . scalar($folder->folders) . " folders"; }
Add access to Microsoft Exchange to Email::Folder. Contains API enhancements to allow folder browsing.
Utilizes FBA (forms-based authentication) to login. Therefore, OWA (Outlook Web Access) must be installed and enabled on target server.
Create Email::Folder::Exchange::WebDAV object and login to OWA site.
URL of the target folder, usually in the form of server/user/Inbox. May contain authentication information, I.E. 'http://domain\user:password@owa.myorg.com/user/Inbox'.
Username to authenticate as. Generally in the form of 'domain\username'. Overrides URL-supplied username if given.
Password to authenticate with. Overrides URL-supplied password.
Return a list containing all of the messages in the folder. Can only be called once as it drains the iterator.
Return next message as Email::Simple object from folder. Acts as iterator. Returns undef at end of folder contents.
Return a list of Email::Folder::Exchange::WebDAV objects contained within base folder. Can only be called once as it drains the iterator.
Return next folder under base folder as Email::Folder::Exchange::WebDAV object. Acts as iterator. Returns undef at end of list.
Return URI locator object for current folder.
Can't locate object method "new" via package "LWP::Protocol::https::Socket"
Install the Crypt::SSLeay module in order to support SSL URLs
Email::Folder::Exchange, Email::Folder, URI, Email::Simple, Crypt::SSLeay
Warren Smith <lt>wsmith@cpan.org<gt>
Copyright (C) 2011 by Warren Smith
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
To install Email::Folder::Exchange, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Folder::Exchange
CPAN shell
perl -MCPAN -e shell install Email::Folder::Exchange
For more information on module installation, please visit the detailed CPAN module installation guide.