How do I get the *NEW* EntryID after I delete a message from my In

M

Mike Petonic

Hi ... Glad that I found you folks. I am trying to do some automation with
MyLifeOrganized and Outlook.

Basically, I want to delete a message in my Inbox and get the new EntryID
(which changes when a message moves folders, of course) and save that new
EntryID in the clipboard.

I'm open to using the Redemption libraries or whatnot. Scouring this
community, I see a couple of references to the fact that MailItem.move() is a
function and returns the new EntryID, but not in my case. I get an undefined
error.

So, ignore my approach, is there another way to do it? Just netting it out,
I need to delete a message from my Inbox, and save the EntryID of the message
that is in the Deleted Folder.

Thanks!
-Mike
 
M

Mike Petonic

Thanks, Michael. You're right. But that wasn't the thing that I was doing
wrong. I was bumbling something else and finally got it to work. As a
result, I've spent 6 hours automating a part of my life that will hopefully
pay off dividends in the months ahead.

ObjectOrientedProgramming is what got me out of Programming :)

-Mike
 

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

Top