From 816eb7545078d43caeba865ed1a5822555cd31a8 Mon Sep 17 00:00:00 2001 From: Bharath Acharya Date: Fri, 10 Oct 2008 07:58:56 +0000 Subject: ** Fix for bug #555203 2008-10-07 Bharath Acharya ** 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. svn path=/trunk/; revision=36585 --- mail/ChangeLog | 8 ++++++++ mail/mail-session.c | 2 ++ 2 files changed, 10 insertions(+) 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 + + ** 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 ** 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; -- cgit v1.2.3