09-05-2018, 07:06 AM
Hi Robbie et al
I'm not sure if this is the right place to put this but I have just installed version 1.4.1 and I still get this sendemail error when i try to run nems-mailtest?
Please let me know if you need a new thread to be started?
My initial attempt was to run this in a small network which is detached from the internet but the local mailserver doesn't support TLS so that didnt work although NEMS seemed to connect to it.
My second attempt was to run it on a pi connected to the internet using google smtp as a relay. I have done the insecure app stuff and tested it and can send emails however this doesn't work?
Any ideas anyone to get email notifications to work please?
See below for what command I run and the resultant output:
username@nems:/home/monitor# nems-mailtest email@domain.com
Please wait...
sh: 11: ** -m *****: not found
sh: 13: Notification: not found
sh: 14: Host:: not found
sh: 16: Address:: not found
sh: 19: Date/Time:: not found
sh: 20: Syntax error: Unterminated quoted string
Sep 05 12:01:20 nems sendemail[24637]: WARNING => The argument after -xp was not valid password!
Sep 05 12:01:20 nems sendemail[24637]: ERROR => You must specify a 'from' field! Try --help.
Many thanks!
I'm not sure if this is the right place to put this but I have just installed version 1.4.1 and I still get this sendemail error when i try to run nems-mailtest?
Please let me know if you need a new thread to be started?
My initial attempt was to run this in a small network which is detached from the internet but the local mailserver doesn't support TLS so that didnt work although NEMS seemed to connect to it.
My second attempt was to run it on a pi connected to the internet using google smtp as a relay. I have done the insecure app stuff and tested it and can send emails however this doesn't work?
Any ideas anyone to get email notifications to work please?
See below for what command I run and the resultant output:
username@nems:/home/monitor# nems-mailtest email@domain.com
Please wait...
sh: 11: ** -m *****: not found
sh: 13: Notification: not found
sh: 14: Host:: not found
sh: 16: Address:: not found
sh: 19: Date/Time:: not found
sh: 20: Syntax error: Unterminated quoted string
Sep 05 12:01:20 nems sendemail[24637]: WARNING => The argument after -xp was not valid password!
Sep 05 12:01:20 nems sendemail[24637]: ERROR => You must specify a 'from' field! Try --help.
Many thanks!