* don't use ANONYMOUS@ for non-login SMTP accounts; discussed
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 4 Dec 2007 10:57:05 +0000 (10:57 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 4 Dec 2007 10:57:05 +0000 (10:57 +0000)
  this with pvanhoof, and it was meaningless it seems.

this unbreaks support for at least MS Exchange SMTP servers
  without login

pmo-trunk-r3861

src/modest-tny-account.c

index 50080fb..90c4433 100644 (file)
@@ -330,7 +330,7 @@ update_tny_account (TnyAccount *tny_account,
                            protocol == MODEST_PROTOCOL_STORE_POP)
                                auth_mech_name = NULL;
                        else if (protocol == MODEST_PROTOCOL_TRANSPORT_SMTP)
-                               auth_mech_name = MODEST_ACCOUNT_AUTH_ANONYMOUS;
+                               auth_mech_name = NULL; 
                        else
                                auth_mech_name = MODEST_ACCOUNT_AUTH_PLAIN;
                        break;