diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 37de09fde6..c00515135e 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -356,8 +356,10 @@ composer_send_queued_cb (CamelFolder *folder, CamelMimeMessage *msg, CamelMessag } gtk_widget_destroy (GTK_WIDGET (send->composer)); - /* queue a message send */ - mail_send (); + if (camel_session_is_online (session)) { + /* queue a message send */ + mail_send (); + } } else { e_msg_composer_set_enable_autosave (send->composer, TRUE); gtk_widget_show (GTK_WIDGET (send->composer)); |