On Wed, Apr 25, 2012 at 5:13 AM, Bhavesh <[email protected]> wrote: > Only thing if someone can help is, i got the email body but as same > time i want to mark that email as "read" instead of "unread", so that > next time when i have another new email, i get content from that new > email and previous all emails are in read state.
I guess Chuck is trying to tell you that Watir automates browsers, and you want to automate Outlook. It does not matter if you are using Watir to send mail, you have to use another tool to read mail. Are you aware that you are not using Watir to drive Outlook? (You are using Ruby.) I have done a lot of mail sending/reading/parsing and I would highly suggest that you use another tool (like mail gem) for that, instead of automating Outlook. If you have questions on how to do that, I would be glad to help. Željko -- watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
