01-08-2019 12:58 PM
I tried to use Labview example vi 'Send Email using SMTP Client.vi'. Setup is as attached PDF. I have clicked 'Configure Server' first, then clicked 'send email'. It always fails. I have tried different email boxes, none of them could work.
I also read a previous post: https://forums.ni.com/t5/LabVIEW/ERROR-Sending-email-on-labview-Gmail/td-p/3154411?lang=en And set up in gmail to allow less secure apps according to this post. The vi still doesn't work.
My labview version is Labview 2013.
Any help is greatly appreciated !
01-08-2019 01:17 PM
Make sure you are using an application specific password, not the main gmail password. If that doesn't solve the problem then I would assume something is getting blocked by a firewall.
01-08-2019 01:46 PM
Thank you for the answer!
I generated APP password and tried again. It still doesn't work.
As for firewall, there was a pop out window earlier asking if allow access. I chose allow already.
01-08-2019 02:24 PM
It works fine for me. I would assume something is still getting blocked further up the network, a corporate firewall perhaps. The only other thing that has given me a timeout error before with this was attempting to use the SSL port 465 vs TLS 587.
But using 587 with a gmail account, I can send en email from this VI to my work email no problem using the same settings you have posted in your screenshots.
01-08-2019 06:17 PM
Thank you!
I will check firewall again.