I try to debug my workflow on VM162 and failed “Object reference not set to an instance of an object” in send smtp activty. But i tried to send SMTP mail message via telnet manually and successfully.
I already try this workflow to another VM then successfully, Idk what wrong in my workflow, can anyone give me insight ?
Hie @Iwan_Kurniawan1 if you are using smtp you have to pass the required details.
like email id and password which are blank in your case try to fullfill these details and hit run more time.
cheers Happy Automation.
It seems your configuration is good as it works through telnet.
But, also in most scenarios “Object reference not set to an instance of an object” means a value is being passed as null. What I see is that you’re specifying a user in your telnet test but the “logon” field on your UiPath test is empty.
Some relay servers require a user on the same domain to be able to send mail, even if they don’t require a password. Hope this helps.
Perhaps you can use the “Locals” Panel to debug the values that your “Send SMTP Mail Message” is actually using.
Maybe some variable or setting does not have the value that you expect.