SW_NotifyMail - fablab-wue/piTelex GitHub Wiki
Get e-mail notification on new telex
Motivation
Sometimes a new telex may arrive on one of the teleprinters without you noticing it. For example, because the teleprinters are in the basement due to noise or because you are not at home but on the road or in the office.
Howto
If you enable the device Archive
, all messages (received and sent) will be stored in a special directory. The archive device can also send received messages via e-mail to a preconfigured mail account immediatley after the message has been saved to the archive.
For detailed description, have a look at documentation of the Archive
device. Below there is an example of the required snippet for the configuration file:
"archive": {
"type": "archive",
"enable": true,
"path": "/home/pi/piTelex-archive/",
"send_email": true,
"recipient": "[email protected]",
"email_sender": "833539 fili d<[email protected]>",
"smtp_server": "mx.mailprovider.de",
"smtp_port": 587,
"smtp_user": "[email protected]",
"smtp_password": "veryverysecret"
}