Fix email errors / Signing in to a mail app
Mail server certificate name mismatch
The mail server’s certificate does not cover the server name your app is using, often mail.yourdomain.com on shared hosting. Use the incoming and outgoing server names your host lists for SSL/TLS instead.
Why it happens
Shared hosts serve many domains from one server, whose certificate names the host (server123.host.com), not your domain. When your app connects to mail.yourdomain.com, the names do not match and the app warns you.
Fix it
- Find your host's mail settings page and use the server names it gives for SSL/TLS.
- If you run the server yourself, get a certificate that includes the mail name (for example with Let's Encrypt).
- Avoid accepting the warning permanently: it also hides a real interception.