Question
cognizant
CA
Last activity: 6 Nov 2018 20:02 EST
Polling of Mailbox in open span
Hi Team,
I am trying to poll unread mail from mailbox and want to utilize the content of email.
I am able to retrieve unread email data but automation is not executing automatically when any new email is arriving.
Thanks,
Lalit
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
There is an event on the Outlook connector named NewMail. If you click on the little arrow in the upper right corner of the event, you can expand it and see the Mail property. If you extract a proxy, then you can access this Mail object's properties, methods and events. From here, you can do whatever you need to it without polling. Be aware though, that this event fires before the mail is visible in Outlook to the user. In my screenshot, you can see I am checking the subject of a new mail when it arrives and marking it as Read if it matches a specific subject.