I’m trying to set up a IOT device ( programmable module, called flyport wifi pro ) to send emails when in an alarm condition, the IOT device is set up in a factory so there are a few obstacles to get through, those being a router and firewall (both which I have access to).
I use the following settings to set up the gmail server to send emails firstname.lastname@example.org, destinationAddress@ gmail.com, password, smtp.gmail.com, port SSL 465
On my gmail account I also had to enable IMAP on google and turn on enable emails from less secure accounts
I have double checked all these settings are right. But I get an error report on my IOT device, 32769, I have done some research on this and what it says is that the IOT device failed to connect to the STMP server.
What I haven’t done yet is to open port 456 on the firewall or router, but this is a tricky job and before I start I would like to know if this is the right thing to do?