email notifications via Gmail SMTP Windows (NetXMS 6.0.3)
-
Hello everyone,
I am trying to configure email notifications in NetXMS 6.0.3 on Windows using Gmail’s SMTP server, but I cannot get it to work.
My notification channel is configured as follows:
Server=smtp.gmail.com
Port=587
FromAddr=my gmail
FromName=Sistema NetXMS
Login=my gmail
Password=App password
TLSMode= STARTTLS
IsHTML=yesThe channel shows a green status indicator, but when I try “Send Notification” it fails. In the log I see:
"Call to curl_easy_perform("smtp://smtp.gmail.com:587") failed (60: SSL certificate OpenSSL verify result: unable to get local issuer certificate (20))"I have already tried adding a cacert.pem file and pointing to it in netxmsd.conf and via the environment variable, but the error persists.
Has anyone successfully configured Gmail SMTP with NetXMS on Windows recently? Any advice on how to resolve the certificate verification issue would be greatly appreciated.
Thank you in advance!
-
Just tried to send via Gmail both on Linux and Windows 10, it worked fine. This is the configuration I've used:
Server=smtp.gmail.com
Port=587
TLSMode=STARTTLS
[email protected]
Password="xxxxxxxxxxxxxxxx"
[email protected]
FromName=NetXMS Server
IsHTML=noInteresting part is Gmail shows app password with spaces, but password should go without spaces.
Is time on your Windows machine correct? What kind of Windows it is? You can try installing NetXMS server on another Win machine and copy notification channel configuration there.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login