# \[IMAP\] MailClient.Accounts.ConnectionException: Failed opening connection to server

**URL:** <https://forum.emclient.com/t/imap-mailclient-accounts-connectionexception-failed-opening-connection-to-server/61283>\
**Category:** Uncategorized\
**Created:** [March 26, 2019, 8:57pm UTC](https://forum.emclient.com/t/imap-mailclient-accounts-connectionexception-failed-opening-connection-to-server/61283 "2019-03-26T20:57:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John43](https://forum.emclient.com/letter_avatar_proxy/v4/letter/j/3ec8ea/32.png) [@John43](https://forum.emclient.com/u/John43)\
**Post date:** [March 26, 2019, 8:57pm UTC](https://forum.emclient.com/t/imap-mailclient-accounts-connectionexception-failed-opening-connection-to-server/61283/1 "2019-03-26T20:57:32Z")

</div>

All of a sudden getting&nbsp; [IMAP]&nbsp; MailClient.Accounts.ConnectionException: Failed opening connection to server.&nbsp; Worked up until a couple days ago.&nbsp; Has something changed in EMclient or Gmail server?

---

<div class="post-metadata">

**Author:** ![John43](https://forum.emclient.com/letter_avatar_proxy/v4/letter/j/3ec8ea/32.png) [@John43](https://forum.emclient.com/u/John43)\
**Post date:** [March 26, 2019, 10:37pm UTC](https://forum.emclient.com/t/imap-mailclient-accounts-connectionexception-failed-opening-connection-to-server/61283/2 "2019-03-26T22:37:40Z")

</div>

Fixed the problem by selecting "use SSL/TLS on special port (legacy).&nbsp; Don’t believe I ever used that one before.

---

<div class="post-metadata">

**Author:** ![stefanL](https://forum.emclient.com/letter_avatar_proxy/v4/letter/s/57b2e6/32.png) [@stefanL](https://forum.emclient.com/u/stefanL)\
**Post date:** [November 23, 2026, 10:00am UTC](https://forum.emclient.com/t/imap-mailclient-accounts-connectionexception-failed-opening-connection-to-server/61283/3 "2026-11-23T10:00:51Z")

</div>

Same problem in November 2026! This is really annoying… @John43: solution works for my Strato Mail Account. Thank you
