nethome sent mails "linux"

Functionality and usage of the OpenNethome Server
Post Reply
Nasty76
Posts: 145
Joined: Tue Dec 09, 2014 1:20 am

nethome sent mails "linux"

Post by Nasty76 »

Hey there is tutorial how you can sent nethome data to your mail address.
Create gmail mail account to your nethome , I use xxxxxx.xxxxxx@gmail.com... address so I see who sent me mail :D.
remember turn off Access for less secure apps so that allow you to login in nethome google give tip how to do that.
Warning if you use bitbanger driver , prepare to recompile driver if you update whole system !!!!!!!!!!!

before you start: apt-get update && apt-get upgrade
then I use this help post to get that work
http://www.howtogeek.com/51819/how-to-s ... ing-gmail/
after that test you can use custom script to sent mail if something trigger mail script

Now it’s easy to write scripts which can send you mail. Here’s an example terminal command to send an email from the msg.txt text file:

ssmtp myemailaddress@gmail.com < msg.txt

msg.txt is a simple text using the proper formatting for sSMTP:

To: myemailaddress@gmail.com
From: myemailaddress@gmail.com
Subject: alert

The server is down!

oh I just find easier way to sent mail we use there perl.
How to coming soon!
Nasty76
Posts: 145
Joined: Tue Dec 09, 2014 1:20 am

Re: nethome sent mails "linux"

Post by Nasty76 »

Orginal mail system not allow sent mail, only root can sent , need rethink this system :(
And perl modules bugged bad to get perl mail work , i need fix this issue too , when i have little time.
Post Reply