Setting up an IOT device as a web server - Super User © superuser.commost recent 30 from superuser.com2018-07-17T15:08:46Z up an IOT device as a web server © superuser.comben<p>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). </p><p>I use the following settings to set up the gmail server to send emails, destinationAddress@, password,, port SSL 465 </p><p>On my gmail account I also had to enable IMAP on google and turn on enable emails from less secure accounts </p><p>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.</p><p>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? </p>