From 3c74da6893887b68caa185f6d2eb2a280a0e445e Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Wed, 23 Nov 2005 06:46:51 +0000 Subject: ** See bug #315987 Send only if account is enabled 2005-11-23 Parthasarathi Susarla ** See bug #315987 * em-composer-utils.c: (em_utils_composer_send_cb): Send only if account is enabled (em_utils_composer_save_draft_cb): Save message to server folder only if the account is enabled, else save it locally (generate_account_hash): Add default account into the account hash only if the account none of the account is enabled. (guess_account): use only enabled account * mail.error.xml: Add error message for send-no-account-enabled svn path=/trunk/; revision=30646 --- mail/mail-send-recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-send-recv.c') diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index ad8f79b669..efd0a2f884 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -1064,7 +1064,7 @@ mail_send (void) send_info_t type; transport = mail_config_get_default_transport (); - if (!transport || !transport->url) + if (!transport || !transport->url) return; data = setup_send_data (); -- cgit