E-Mail Notification. Connection unsuccessful:

Hi

Install Mattermost, CentOS7.
Setup e-mail notification, click “Test Connection” … not work

Connection unsuccessful: SendMail: Failed to open TLS connection, dial tcp: lookup tcp/“465”: Servname not supported for ai_socktype

Enable Email Notifications: true
SMTP Server: “smtp.mydomain.com
SMTP Server Port: “465”
Enable SMTP Authentication: true
SMTP Server Username: “admin”
SMTP Server Password: “mystrongpasswd”
Connection Security: “TLS”

Help me pls setup notification

Thx

Hi @RockerMan,

Are these the instructions you were following: https://docs.mattermost.com/install/smtp-email-setup.html?

Do you see any errors in Mattermost logs? What server version are you using?

Sorry, this is my fail
I remove quotes " in the parameters and it all worked

SMTP Server: smtp.mydomain.com
SMTP Server Port: 465
Enable SMTP Authentication: true
SMTP Server Username: admin
SMTP Server Password: mystrongpasswd
Connection Security: TLS

1 Like