An error occurred while trying to send an email

please help me with this error:

The Graylog server encountered an error while trying to send an email. This is the detailed error message: org.apache.commons.mail.EmailException: Sending the email to the following server failed : (javax.mail.MessagingException: Could not connect to SMTP host:, port: 25; nested exception is: Unrecognized SSL message, plaintext connection?)

[root@Syslog_Trial ~]# telnet 25
Connected to
Escape character is ‘^]’.
220 ESMTP smtpd
221 2.0.0 Bye
Connection closed by foreign host.
[root@Syslog_Trial ~]#

it seems your mail server do not use SSL/TLS.
If so, try to set:

transport_email_use_tls = false
transport_email_use_ssl = false

But if you have starttls on port 25 then

transport_email_use_tls = true
transport_email_use_ssl = false

Hope this helps :thinking:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.