NetXMS Support Forum

English Support => General Support => Topic started by: DesertRat on August 07, 2022, 02:04:17 AM

Title: SMTP Driver Error
Post by: DesertRat on August 07, 2022, 02:04:17 AM
I am trying to configure eMail notifications. I have an SMTP server set up that does not require authentication. I have attached a screenshot of the error. My configuration for the driver is:

Server=XX.XX.XX.XX
RetryCount=1
Port=25
FromName=NOC
FromAddr=<my email address>
MailEncoding=utf8
IsHTML=no

How can I troubleshoot this?
Title: Re: SMTP Driver Error
Post by: Filipp Sudanov on August 09, 2022, 03:58:01 PM
You may also try adding
LocalHostName=localhost
into the configuration - some smtp servers may require this.

To troubleshoot - set debug level 6 for tags nc and ncd.smtp:
debug nc 6
debug ncd.smtp 6
in server console.
Then try to send a notification, server log should have some information.
Since smtp is not encrypted, you can also use tcpdump/wireshark to see communication with smtp server.