Outlook only unread messages

Hi Automaters,

I’m getting Error “Object reference not set to an instance of an object.” when checking “onlyunread messages” in properties of get outlook mail messages activity.

Please help me out on this,

Regards,
SaiKrishna.

@krishna46111

Where is Message Box activity here ? What you passed to it.

Actually this error will come when you are trying to assign Null value.

Hi @krishna46111

Have you loop mail message in for each and you would have received it

Thanks
Ashwin.S

Hi
May I know which activity is throwing error
Like this error usually comes when the associated activity has a variable with null value in it

cheers @krishna46111