[Solved] Outlook error : Object reference not set to an instance of an object

Hi team
Thanks for the valuable knowledge !

I have managed successfully all exercises, just had a issue on the last one, and it took 30 mn to debug

Just to warn other students that if you have your “Emails” directory of your project “Digital assistant”
in the scope of a sync tool, like OneDrive or any other, the word template may be locked by the synchronization just after its creation, then you will get an error with Outlook :slight_smile:

Something went wrong with Outlook.
Activity Send Outlook Email (Send Mail X) failed:

Object reference not set to an instance of an object.

You just have to turn off synchronization, time to finish your exercise :wink:
Take care all


@Xavier_Vlieghe Hi, I have tried what you suggest but still getting this error


I have also tried with gmail outlook account and got the same error.