Hi there,
at first: awesome tool! We will use it for our development team and want to monitor out internal applications with it.
Therefore we need a working email configuration to send out alerts.
Unfortunately I can’t get the email settings to work. I either get the error “Something went wrong. Please try again later” oder “Wrong hostname or port”.
Environment
Metabase Version: 0.34.3
Deployed via docker, Postgres as Database (works!)
Added one SQL Server as Datasource (works!)
Access over Web via NGINX Proxy (works!)
Here is what I tried
Company SMTP Settings:
Username: email@company.com
Host: mail.company.com
Port: 25
Encryption: STARTTLS
=> does not work! I tried nearly all combinations (Port 465, SSL, TLS, STARTTLS, NONE).
The credentials are correct, I use the same email credentials as our GitLab Instance (which has STARTTLS enabled).
So I setted up a mailhog container via docker on the same machine and linked it to metabase container. It worked out of the box, and an email was sent.
I also tried to configure one of my private email accounts, which has the following options:
Host: smtp.mysite.net
User: my@email.address
Port: 465
Encryption: SSL
I have the exact same configuration in my mail client (Apple Mail) and these also don’t work in metabase (same error Something went wrong
).
The logs are not producing any output. Sometimes there is an message like SocketException: read timeout
, but I don’t know if these are messages from the mail configuration.
I also tried to telnet to our mailserver from inside the container, it worked. So I guess there is no network problem.
At the moment I guess there is a bug in the SSL / TLS / STARTTLS usage of email configuration.
Can anyone help me out? I really want to get the emails going as metabase is such a nice and awesome tool, I want to work with it daily.
Thanks a lot!
Martin