diff options
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 8766339c6d..49f39e6b0b 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -633,6 +633,10 @@ send_queue_send(struct _mail_msg *mm) report_status (m, CAMEL_FILTER_STATUS_START, pc, "Sending message %d of %d", i+1, uids->len); + info = camel_folder_get_message_info (m->queue, uids->pdata[i]); + if (info && info->flags & CAMEL_MESSAGE_DELETED) + continue; + message = camel_folder_get_message (m->queue, uids->pdata[i], &mm->ex); if (camel_exception_is_set (&mm->ex)) break; |