NetXMS Support Forum

English Support => General Support => Topic started by: dksieg on August 06, 2010, 10:37:40 AM

Title: How to send mail notify
Post by: dksieg on August 06, 2010, 10:37:40 AM
Hi,

i use netxms version 1.0.4, and config action send mail via gmai SMTP server. But it's not success and required authentication. How i can send mail via gmail?

Regards
-dksieg.
Title: Re: How to send mail notify
Post by: Alex Kirhenshtein on August 06, 2010, 01:50:42 PM
SMTP authentication is currently unsupported.
As a workaround, you send notifications using external script, which would send mail using mSMTP, for example.
Title: Re: How to send mail notify
Post by: Anton8090 on May 04, 2011, 09:51:38 AM
Quote from: Alex Kirhenshtein on August 06, 2010, 01:50:42 PM
SMTP authentication is currently unsupported.
As a workaround, you send notifications using external script, which would send mail using mSMTP, for example.
Do you can show us this scritp?

And another, how i can use microsoft exchange or yandex mail or gmail for send email?

Please help me to configure email notification with msmtp.

I have another Debian mashine. Run this action:

#install msmtp
sudo apt-get install msmtp
#create msmtp config
sudo touch /etc/msmtprc
#edit config to
account default
host smtp.yandex.com
port 25
protocol smtp
auth on
from [email protected]
user forexample
password P@ssw0rd
tls on
tls_certcheck off


#recreate link
rm /usr/sbin/sendmail
ln -s /usr/bin/msmtp /usr/sbin/sendmail


#next to run recive message from cosole
cat test.txt | msmtp [email protected]
# and have a message from web interface:

От кого   From     [email protected]
Кому           To     undisclosed-recipients
Когда           When     4 мая 2011 в 14:52


Server have this settings:
smtp from addr [email protected]
smtp from name forexample
smtp counter 5
smtp server IPADDRESS DEBIAN MASCINE

In Event log, on my NetXMS machine , I have a message:
Unable to sand e-mail to <[email protected]>:SMTP conversation failure

Please help me seng email! or give me help or волшебный пендаль
Title: Re: How to send mail notify
Post by: Filipp Sudanov on May 22, 2023, 05:53:47 PM
SMTP Authentication was added in 4.3, please see updated documentation: https://www.netxms.org/documentation/adminguide/event-processing.html#notification-channels