
Email::Folder::Exchange - Email::Folder access to exchange folders via WebDAV

use Email::Folder::Exchange;
my $folder = Email::Folder::Exchange->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 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 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 object. Acts as iterator. Returns undef at end of list.
Return URI locator object for current folder.

Email::Folder, URI, Email::Simple

Warren Smith <lt>wsmith@cpan.org<gt>

Copyright (C) 2007 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.