E-Mail Notification. Connection unsuccessful:


#1

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


#2

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?


#3

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