- always use AUTH_PLUGIN_PLAIN for libESMTP as AUTH_PLUGIN_EXTERNAL seems to cause trouble in some cases, StartTLS still works
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@391
e385b8ad-14ed-0310-8656-
cc95a2468c6d
if (SmtpAuthUser) {
if ((authctx = auth_create_context ()) == NULL)
MSGFAIL ("auth_create_context failed");
-#if defined (USE_SSL) || (defined (USE_GNUTLS) && defined (HAVE_GNUTLS_OPENSSL_H))
- auth_set_mechanism_flags (authctx, AUTH_PLUGIN_EXTERNAL, 0);
-#else
auth_set_mechanism_flags (authctx, AUTH_PLUGIN_PLAIN, 0);
-#endif
auth_set_interact_cb (authctx, _mutt_libesmtp_auth_interact, NULL);
if (!smtp_auth_set_context (session, authctx))