aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-session.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 567a5a2f6e..de2af048fa 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2008-10-07 Bharath Acharya <abharath@novell.com>
+
+ ** Fix for bug #555203
+
+ * mail-session.c: (get_password): Use the url value in cases where the
+ account goes NULL. Fixes the issue of Exchange not sending mails,
+ because it does not have a valid transport url to use.
+
2008-10-05 Sankar P <psankar@novell.com>
** Fix for bug #554349
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 9009bb607b..0a5b9244d5 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -178,6 +178,8 @@ get_password (CamelSession *session, CamelService *service, const char *domain,
if (url
&& (account = mail_config_get_account_by_transport_url(url)))
ret = g_strdup(account->source->url);
+ else
+ ret = g_strdup(url);
} else {
char *key = make_key(service, item);
EAccountService *config_service = NULL;