Hey guys, newbie here, need some help, I need to make a device that conected to some sensors automaticaly notifies by mail every time each sensor changes it´s status. I´m flexible on router model. If it´s been done and anyone want´s to share I will apreciate it. Any other input that shorten my research time and learning curve will be very apreciated too. TIA
Topic: Automatic mail notification
The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Page 1 of 1
I use ssmtp (opkg update; opkg install ssmtp). You need to modify ssmtp.conf to set appropriate values, for example, "mailhub=smtp.comcast.net", "hostname=someplace.com",
"root=youremail@yourprovider.com", "FromLineOverride=YES"
Then you build your message in a file and send it:
ssmtp youremail@yourprovider.com < /home/mydir/mymsg.msg
There are many other ways to do this.
The discussion might have continued from here.
Page 1 of 1