Link to home
Start Free TrialLog in
Avatar of Rick Rudolph
Rick RudolphFlag for United States of America

asked on

Use MSAcess VBA and IMAP to move all mail in an OWA "inbox" folder to a folder named "processed"

I already have an application that can log into an OWA mailbox, and process all of the inbox items according to rules we have set up. Unfortunately, this application does not allow me to move the processed items out of the inbox, so I am currently doing that manually. What I would like to do is create some Microsoft VBA code that will do this move for me immediately after the first program runs. Ideally, the vba code would do the following:

log into the email account
create a new folder under the processed folder named..."today's date" in  this format......yyyymmdd
move all items currently into the inbox into the folder just created.

My abilities are very much limited to working within MSAccess.

Any help on how to get started with this would be greatly appreciated.
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

It might help if you click the "Request Attention" link and asked that this Q be added to the outlook Topic Area:
https://www.experts-exchange.com/topics/outlook/
Can you elaborate your question, please?

I already have an application that can log into an OWA mailbox, and process all of the inbox items

What kind of application? Bought or do you own the source? In the second case, how do you access your mails?
Avatar of Rick Rudolph

ASKER

The application is Simx's Target Reports. This is a visual basic product for processing text and pdf files, it has a mapi set of functions, some of which work fine, however the move method does not work, so I was hoping to do that in MS Access.
Well, you can do it, but it is a lot of work. Well, have you asked the vendor?

Otherwise, why not using an e-mail client which does that (e.g. Thunderbird).
ASKER CERTIFIED SOLUTION
Avatar of jrb1
jrb1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.