in reply to Re: Connect to Microsoft Exchange
in thread Connect to Microsoft Exchange
The version of exchange I believe is 2007. Yes I have taken a look at IMAP family of Modules but the problem is privileges to install a module. Net::POP3 is already installed so gave it a try but it is not working. Here is that i used:
use strict; use warnings; use Net::POP3; my $pop = Net::POP3->new('abc.xx.com'); if ($pop->login('XXXX', 'YYYYYYY') > 0) { my $msgnums = $pop->list; # hashref of msgnum => size foreach my $msgnum (keys %$msgnums) { my $msg = $pop->get($msgnum); print @$msg; #$pop->delete($msgnum); } } $pop->quit;
As far as control over the exchange server is concerned i think that would be a problem.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Connect to Microsoft Exchange
by afoken (Chancellor) on Nov 25, 2010 at 18:20 UTC | |
by libvenus (Sexton) on Nov 26, 2010 at 10:36 UTC | |
by afoken (Chancellor) on Nov 26, 2010 at 11:04 UTC | |
by libvenus (Sexton) on Nov 26, 2010 at 12:02 UTC | |
by libvenus (Sexton) on Nov 26, 2010 at 12:11 UTC | |
|