Add warning about missing LOGIN SASL plugin for IMAP.
[claws.git] / src / imap.c
index 40fb573bd33b99f167a7a011fbfd8da770394be3..4307d050d5f9721edade031694f00b4c8615e9db 100644 (file)
@@ -973,6 +973,12 @@ static gint imap_auth(IMAPSession *session, const gchar *user, const gchar *pass
                                     "PLAIN SASL plugin is installed.");
                }
 
+               if (type == IMAP_AUTH_LOGIN) {
+                       ext_info = _("\n\nLOGIN logins only work if libetpan has been "
+                                    "compiled with SASL support and the "
+                                    "LOGIN SASL plugin is installed.");
+               }
+
                if (time(NULL) - last_login_err > 10) {
                        if (!prefs_common.no_recv_err_panel) {
                                alertpanel_error_log(_("Connection to %s failed: "