Outlook Automation

  • Thread starter Thread starter Paul Smith
  • Start date Start date
P

Paul Smith

I am trying to write some code which, from within Excel, collates details
(sender and subject) of all returned receipts.

I have successfully written code which does this for items in my own inbox,
but would like to be able to do it for another mailbox's inbox which I have
access to, having added it to my user profile.

Any ideas on how to do this?

Paul Smith
 
Paul,

Do you create a MAPI namespace and login in your code? If so, just add the
name to the named argument in the login.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
In the code you already have, you're using Namespace.GetDefaultFolder to
return a MAPIFolder object for the Inbox, right? Well, to access another
user's Inbox, you can use Namespace.GetSharedDefaultFolder.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top