Sending notifications does not work

Having issues? Post them here, and help other users.
Post Reply
HeikoAdams
Junior Member
Posts: 15
Joined: Mon May 27, 2019 8:39 am

Sending notifications does not work

Post by HeikoAdams »

I'm using NEMS 1.5 Build 7 on an RPi.

When trying to check my notification config all I got is this:

Code: Select all

$ sudo nems-mailtest [email protected]
Please wait...
Message could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

This output isn't very helpfull at all.
The password for mailserver authentication contains quotation marks ("). Maybe this is a problem?
Mit freundlichen Grüßen
 
Heiko Adams
IT-Administration/-Security
 
flyerwire GmbH
Rosenauer Straße 33
D-96487 Dörfles-Esbach
tel:  (+49) 09561 7948 62
fax:  (+49) 09561 7948 29
fb:  www.facebook.com/flyerwire
web:  www.flyerwire.com
jobs: http://www.flyerwire.com/wirueberuns-jobs.html
HeikoAdams
Junior Member
Posts: 15
Joined: Mon May 27, 2019 8:39 am

RE: Sending notifications does not work

Post by HeikoAdams »

Okay, it seems that the quotation marks are the problem. After changing the password to a password without qoutation marks everything works fine.
Mit freundlichen Grüßen
 
Heiko Adams
IT-Administration/-Security
 
flyerwire GmbH
Rosenauer Straße 33
D-96487 Dörfles-Esbach
tel:  (+49) 09561 7948 62
fax:  (+49) 09561 7948 29
fb:  www.facebook.com/flyerwire
web:  www.flyerwire.com
jobs: http://www.flyerwire.com/wirueberuns-jobs.html
[email protected]
Junior Member
Posts: 3
Joined: Thu Sep 17, 2020 4:27 pm

Re: Sending notifications does not work

Post by [email protected] »

I'm having the same error. New installation:
NEMS Platform....: Raspberry Pi 4
NEMS Version.....: 1.5.2 (Current Version is 1.5.2)

Ran nems-cleanup and nems-quickfix. No help.
Ran nems-mailtest with the following:

root@nems:~# !29
nems-mailtest [email protected]
Message could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
root@nems:~#

I do have special characters in my SMTP password.

Any help will be appreciated.
[email protected]
Junior Member
Posts: 3
Joined: Thu Sep 17, 2020 4:27 pm

Re: Sending notifications does not work

Post by [email protected] »

Update. I was able to use another free SMTP service and a simple password. Mail out is working. I was trying to use Google but that one did not work. If anyone is able to get it working with Google mail, please let me know how you did it.
Post Reply