primus has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use warnings; use strict; use Win32::OLE; # ---------------------------------------- print "Content-type:text/html\n\n"; my $ol = Win32::OLE->new('Outlook.Application') or die "error\n"; my $olns = $ol->GetNameSpace("MAPI") or die "can't open MAPI namespace +\n"; my $folder = $olns->GetDefaultFolder(9); my $items = $folder->{Items}; for my $index (1 .. $items->{Count}) { print $items->Item($index)->{Subject} . "\n"; print $items->Item($index)->{Body} . "\n"; print $items->Item($index)->{Start} . "\n"; print $items->Item($index)->{End} . "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: another perl and outlook question
by NetWallah (Canon) on Jun 10, 2003 at 18:39 UTC | |
by primus (Scribe) on Jun 10, 2003 at 18:52 UTC | |
by mjeaton (Hermit) on Jun 10, 2003 at 22:55 UTC | |
by primus (Scribe) on Jun 13, 2003 at 15:23 UTC | |
|
Re: another perl and outlook question
by mjeaton (Hermit) on Jun 10, 2003 at 14:43 UTC | |
by primus (Scribe) on Jun 10, 2003 at 15:07 UTC | |
by mjeaton (Hermit) on Jun 10, 2003 at 15:48 UTC | |
by primus (Scribe) on Jun 10, 2003 at 18:05 UTC |