Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Mail::Outlook and Archive.pst

by VMat (Novice)
on Mar 22, 2013 at 19:32 UTC ( #1024971=note: print w/replies, xml ) Need Help??

in reply to Re: Mail::Outlook and Archive.pst
in thread Mail::Outlook and Archive.pst

Boy... there's a lot of stuff in there for me to learn. Thanks a lot!

However... I don't see where you set which Inbox you're pointing $outlook to. I guess you've reached your main Inbox - I'm trying to read messages from my Archive (which used to be 'Archive/Inbox', but that name doesn't work anymore).

Do you know how we could access the Archive mailbox?



Replies are listed 'Best First'.
Re^3: Mail::Outlook and Archive.pst
by Anonymous Monk on Mar 23, 2013 at 01:22 UTC


    It's been a while and I don't work for that firm now, so these are the steps to take not code.

    Start up Outlook and select the folder.

    In your code using $ol as the OLE connection to Outlook -

    Use '$exp = $ol->ActiveExplorer to find the right instance of Outlook.

    $sel = $exp->Selection to get the selected folder details.

    These should include the folder's name.

    Like I say this is from memory, so may need some ( a lot ) of work, but should point you in a viable direction.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024971]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-11-25 06:21 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (355 votes). Check out past polls.