Jump to content

Maintaning multiple outlook mailboxes


Recommended Posts

Dear all,

I am new to AutoIt, I am searching for information how can I get the script open up multiply mailboxes one by one and delete old emails in the mailbox. If I use the way below to open the outlook. how can I define different mailbox that I need to access?

Can anyone help to give some clue?

$oNameSpace = $o_Outlook.GetNameSpace("MAPI")

$oInbox = $oNameSpace.GetDefaultFolder($olFolderInbox)

Thanks

regards,

shin ann

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...