1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Understand the ports and protocols of messaging
This guide explains which protocols and ports can be used with Infomaniak's email services (Service Mail in particular).
Mandatory ports and parameters
When this is requested during a software or email application configuration, use only these parameters:
IMAPs - incoming mail | SMTPs - outgoing mail | |
---|---|---|
Ports | 993 | 465 |
Authentication | SSL / TLS | SSL / TLS |
Server name | mail.infomaniak.com | mail.infomaniak.com |
If you specify other indications, email errors may occur.
Other supported but not recommended protocols
- port
143
(standard port for receiving messages via IMAP) - port
110
(standard port for receiving messages via POP3) - port
995
(secure port for receiving messages via POP3s) - port
587
(alternative port not recommended for sending messages via SMTP) - TLS authentication on SMTP ports 587 and 25
- STARTTLS authentication for IMAP, POP3 and SMTP
- SMTP authentication (either LOGIN or PLAIN)
The Infomaniak API does not offer any email connection as IMAP and SMTP are the "APIs"; to this end, use a Python library such as https://docs.python.org/3/library/email.examples.html and https://docs.python.org/3/library/imaplib.html or any library using IMAP and SMTP.
To display emails from php:imap_open("{mail.infomaniak.com:993/imap/ssl}", $email, $password);
The MTA-STS
mechanism is not implemented or verified, Infomaniak using instead DANE which guarantees an encrypted connection under these conditions:
- The client sends an e-mail to a domain that has
DANE
. - The client receives an email from an SMTP server that uses
DANE
. - In all other cases, it will be a random connection that does not guarantee 100% that the connection will be encrypted.