read receipts while processing emails

T

Trefor

I am saving emails to an HTML file and then moving the file to another folder.

I am guessing at this point in my code (because I did not manage to see
which step):

olMail.UnRead = False

on one of the messages the code stopped because there was a prompt to send a
read receipt. How can I automatically send the read receipt or bypass the
message?

I know there is a global option to automatically send read receipts, I am
looking to see how I might be able to do this programmatically on each
message.
 
M

Michael Bauer [MVP - Outlook]

It might be possible to bypass it by setting the ReadReceiptRequested
property of the MailItem to False.

Changing the global option doesn't work as that setting is stored in the
registry, and Outlook reads those settings only once at startup.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Sat, 5 Sep 2009 03:37:02 -0700 schrieb Trefor:
 
T

Trefor

Michael,

Many thanks for you responce.

This is not make any difference:

olMail.ReadReceiptRequested = False
olMail.UnRead = False <---- still get a message requiring user
invention

I have just answered Yes and ticked the box to all take this answer
everytime and that works fine, of course this would need to be set at least
once on every machine this code is run on and if anyone resets it I and back
to where I started.
 
M

Michael Bauer [MVP - Outlook]

What happens is you save the item after setting
olMail.ReadReceiptRequested = False?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Sat, 5 Sep 2009 20:24:01 -0700 schrieb Trefor:
 
T

Trefor

Michael,

I will have to have another play and see. For now I have just said "yes" to
all in the global setting.

Thanks for your help.
 

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