{"id":14893,"date":"2024-10-17T04:38:00","date_gmt":"2024-10-17T01:38:00","guid":{"rendered":"https:\/\/www.sunucun.com.tr\/blog\/?post_type=dt_articles&#038;p=14893"},"modified":"2026-11-09T15:56:58","modified_gmt":"2026-11-09T12:56:58","slug":"connect-to-imap-error","status":"publish","type":"post","link":"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/","title":{"rendered":"Cannot Connect to IMAP Server: Causes and Step-by-Step Fix"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_90 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#Quick_Checklist\" >Quick Checklist<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#IMAP_Server_Settings_by_Provider\" >IMAP Server Settings by Provider<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#Causes_and_Fixes\" >Causes and Fixes<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#1_Your_normal_password_is_no_longer_accepted\" >1. Your normal password is no longer accepted<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#2_Wrong_server_name_port_or_encryption\" >2. Wrong server name, port or encryption<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#3_Password_changed_or_account_locked\" >3. Password changed or account locked<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#4_Network_firewall_or_antivirus\" >4. Network, firewall or antivirus<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#5_Certificate_SSL_error\" >5. Certificate (SSL) error<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#6_Server_outage\" >6. Server outage<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#Fixing_It_on_iPhone\" >Fixing It on iPhone<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#Finding_Hosting_Email_Settings_cPanel\" >Finding Hosting Email Settings (cPanel)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#What_Is_IMAP\" >What Is IMAP?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#Frequently_Asked_Questions\" >Frequently Asked Questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#What_does_%E2%80%9CIMAP_login_failed%E2%80%9D_mean\" >What does &#8220;IMAP login failed&#8221; mean?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/sunucun.com.tr\/blog\/connect-to-imap-error\/#Will_I_lose_my_email_if_I_remove_the_account\" >Will I lose my email if I remove the account?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;Cannot connect to IMAP server&#8221;<\/strong>, <strong>&#8220;The connection to the server failed&#8221;<\/strong> or <strong>&#8220;IMAP login failed&#8221;<\/strong> means your email app (Outlook, iPhone Mail, Thunderbird, Android Gmail, etc.) cannot reach the mail server, or the server rejects your sign-in. The cause is usually a <strong>wrong server name or port<\/strong>, the <strong>encryption (SSL\/TLS) setting<\/strong>, or <strong>signing in with a normal password that is no longer accepted<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Quick_Checklist\"><\/span>Quick Checklist<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Try webmail:<\/strong> can you sign in with the same address and password in a browser (Gmail.com, Outlook.com, your <a href=\"https:\/\/sunucun.com.tr\/hosting\/\" data-internallinksmanager029f6b8e52c=\"126\" title=\"Web bar\u0131nd\u0131rma paketlerini inceleyin\">hosting<\/a> webmail)? If not, the problem is the password or the account.<\/li>\n<li><strong>Server and port:<\/strong> incoming IMAP usually uses port <strong>993<\/strong> with <strong>SSL\/TLS<\/strong>. Check your provider in the table below.<\/li>\n<li><strong>Password type:<\/strong> Gmail, Outlook.com, iCloud and Yandex expect &#8220;Sign in with Google&#8221; \/ Microsoft sign-in (OAuth) or an <strong>app password<\/strong> in mail apps instead of your normal password.<\/li>\n<li><strong>Network:<\/strong> try mobile data or another Wi-Fi. Some work, school and hotel networks and security programs block mail ports.<\/li>\n<li><strong>Re-add the account:<\/strong> if fixing settings doesn&#8217;t help, remove the account from the app and add it again. With IMAP your mail stays on the server.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"IMAP_Server_Settings_by_Provider\"><\/span>IMAP Server Settings by Provider<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"snc-table-wrap\"><table>\n<thead><tr><th>Provider<\/th><th>Incoming (IMAP)<\/th><th>Outgoing (SMTP)<\/th><th>Password<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><strong>Gmail<\/strong><\/td><td>imap.gmail.com \u00b7 993 \u00b7 SSL\/TLS<\/td><td>smtp.gmail.com \u00b7 465 (SSL\/TLS) or 587 (STARTTLS)<\/td><td>&#8220;Sign in with Google&#8221;; otherwise an app password (with 2-Step Verification)<\/td><\/tr>\n<tr><td><strong>Outlook.com \/ Hotmail<\/strong><\/td><td>outlook.office365.com \u00b7 993 \u00b7 SSL\/TLS<\/td><td>smtp-mail.outlook.com \u00b7 587 \u00b7 STARTTLS<\/td><td>Modern Auth (OAuth2) required; use an app that supports Microsoft sign-in<\/td><\/tr>\n<tr><td><strong>iCloud<\/strong><\/td><td>imap.mail.me.com \u00b7 993 \u00b7 SSL<\/td><td>smtp.mail.me.com \u00b7 587 \u00b7 SSL\/TLS<\/td><td>App-specific password required<\/td><\/tr>\n<tr><td><strong>Yandex<\/strong><\/td><td>imap.yandex.com \u00b7 993 \u00b7 SSL<\/td><td>smtp.yandex.com \u00b7 465 \u00b7 SSL<\/td><td>Turn on IMAP access in settings and create an app password<\/td><\/tr>\n<tr><td><strong>Your own domain (hosting) email<\/strong><\/td><td>Server shown in your hosting panel \u00b7 993 \u00b7 SSL\/TLS<\/td><td>Server from the panel \u00b7 465 \u00b7 SSL\/TLS<\/td><td>The mailbox password; username is the full email address<\/td><\/tr>\n<\/tbody><\/table><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">These settings come from the official help pages of Google, Microsoft, Apple and Yandex. Since January 2025, IMAP access is always on in Gmail, so there is no setting to enable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Causes_and_Fixes\"><\/span>Causes and Fixes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Your_normal_password_is_no_longer_accepted\"><\/span>1. Your normal password is no longer accepted<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google says Gmail no longer supports third-party apps or devices that ask for your Google username and password, and recommends &#8220;Sign in with Google&#8221;. Microsoft states that Outlook.com requires Modern Auth (OAuth2). If an old app or device only asks for a password, the connection is refused and looks like a &#8220;can&#8217;t connect&#8221; error.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Fix:<\/strong> add the account with the app&#8217;s &#8220;Google&#8221; or &#8220;Outlook.com&#8221; option instead of manual IMAP. If the app can&#8217;t do that, use the provider&#8217;s <strong>app password<\/strong> option or update the app.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Wrong_server_name_port_or_encryption\"><\/span>2. Wrong server name, port or encryption<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use port <strong>993<\/strong> with <strong>SSL\/TLS<\/strong> for IMAP. Port 143 is unencrypted or STARTTLS, and many providers don&#8217;t accept it.<\/li>\n<li>The server name must not contain spaces or extras like &#8220;https:\/\/&#8221;.<\/li>\n<li>With most providers, enter your <strong>full email address<\/strong> as the username.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Password_changed_or_account_locked\"><\/span>3. Password changed or account locked<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you changed your password on another device, the old one in the app is rejected. After many failed attempts, some servers temporarily block your IP address. Check the password in webmail first, then update it in the app.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Network_firewall_or_antivirus\"><\/span>4. Network, firewall or antivirus<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Corporate networks and the &#8220;email scanning&#8221; features of some antivirus programs can block ports 993 and 465, or intercept them and cause certificate errors. Try mobile data; if it works there, the network is the problem.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Certificate_SSL_error\"><\/span>5. Certificate (SSL) error<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For hosting email, if you enter a server name that isn&#8217;t on the certificate (for example a subdomain without a certificate), the app reports &#8220;cannot verify server identity&#8221; or a connection error. Use the <strong>secure (SSL\/TLS) server name<\/strong> your hosting panel recommends, and make sure your device&#8217;s date and time are correct.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6_Server_outage\"><\/span>6. Server outage<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If everything is correct and several devices fail at the same time, check your provider&#8217;s status page or contact your hosting company.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fixing_It_on_iPhone\"><\/span>Fixing It on iPhone<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Settings \u2192 Apps \u2192 Mail \u2192 Mail Accounts<\/strong> (older iOS: Settings \u2192 Mail \u2192 Accounts).<\/li>\n<li>For Gmail, Outlook or iCloud, delete the account and add it again with <strong>Add Account<\/strong>; the iPhone finds the settings itself and uses secure sign-in.<\/li>\n<li>For hosting email, choose <strong>Add Other Account \u2192 Mail Account<\/strong>. If the settings aren&#8217;t found, choose IMAP and enter the server names from your hosting panel.<\/li>\n<li>Under <strong>Advanced<\/strong> in the account details, &#8220;Use SSL&#8221; should be on and the server port should be 993.<\/li>\n<li>To add iCloud to another app, always use an app-specific password.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Finding_Hosting_Email_Settings_cPanel\"><\/span>Finding Hosting Email Settings (cPanel)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you use an address on your own domain (name@yourcompany.com), the right settings are in your hosting panel. In cPanel, open <strong>Email Accounts<\/strong> and click <strong>Connect Devices<\/strong> next to the account. The <strong>Set Up Mail Client<\/strong> screen lists the secure SSL\/TLS settings, incoming and outgoing server names and ports. Copying these values exactly fixes most errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For business email on your own domain, see our cPanel <a href=\"https:\/\/sunucun.com.tr\/en\/hosting\/\">hosting plans<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Is_IMAP\"><\/span>What Is IMAP?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>IMAP<\/strong> (Internet Message Access Protocol) keeps your mail on the server and syncs it between your phone, computer and webmail: what you read or delete on one device looks the same on the others. <strong>POP3<\/strong> usually downloads mail to a single device. If you use more than one device, choose IMAP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions\"><\/span>Frequently Asked Questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_does_%E2%80%9CIMAP_login_failed%E2%80%9D_mean\"><\/span>What does &#8220;IMAP login failed&#8221; mean?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The app reached the server but the username or password was rejected. Check the password in webmail; for Gmail, iCloud or Yandex, use an app password or the provider&#8217;s sign-in.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Will_I_lose_my_email_if_I_remove_the_account\"><\/span>Will I lose my email if I remove the account?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With IMAP, mail is stored on the server, so removing and re-adding the account on a device doesn&#8217;t delete it. If you use POP3 without leaving a copy on the server, back up the mail on the device first.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Cannot connect to IMAP server&#8221;, &#8220;The connection to the server failed&#8221; or &#8220;IMAP login failed&#8221; means your email app (Outlook, iPhone Mail, Thunderbird, Android Gmail, etc.) cannot reach the mail server, or the server rejects your sign-in. The cause is usually a wrong server name or port, the encryption (SSL\/TLS) setting, or signing in with&hellip;<\/p>\n","protected":false},"author":1,"featured_media":14886,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1519],"tags":[1527],"class_list":["post-14893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sanal-sunucu","tag-teknoloji"],"_links":{"self":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/14893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/comments?post=14893"}],"version-history":[{"count":1,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/14893\/revisions"}],"predecessor-version":[{"id":16312,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/14893\/revisions\/16312"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/media\/14886"}],"wp:attachment":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/media?parent=14893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/categories?post=14893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/tags?post=14893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}