1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Ports & protocols for messaging
This guide explains the protocols and ports that can be used with Infomaniak email services (Mail Service in particular).
Prerequisites
It is imperative to use only the server name mail.infomaniak.com
when prompted during the configuration of email software or applications, and this applies to both incoming and outgoing mail settings.
If you specify another server name, mail errors may occur.
Recommended Ports
It is recommended to use only the following protocols and port numbers when prompted during the configuration of email software or applications:
- port
993
(secure port for receiving messages via IMAPs - incoming mail) - port
465
(secure port for sending messages via SMTPs - outgoing mail)
It is imperative to enable SSL / TLS authentication
when prompted during the configuration of email software or applications, and this applies to both incoming and outgoing mail settings.
Without enabled authentication, mail errors may occur.
Other Supported 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 (not recommended)
- STARTTLS authentication for IMAP, POP3, and SMTP
- SMTP authentication (either LOGIN or PLAIN)
The Infomaniak API does not provide any connection to email because IMAP and SMTP are the "APIs"; for this purpose, use a Python library like 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 using php:imap_open("{mail.infomaniak.com:993/imap/ssl}, $email, $password)