For the case of IMAP, the uploading message would otherwise stay on
the screen. In any case, it's best to show that message as the last
thing before returning to the index.
Thanks to chdiza for reporting the issue!
Co-authored-by: Richard Russon <rich@flatcap.org>
goto cleanup;
}
}
- else if (!OptNoCurses && !(flags & SEND_MAILX))
+
+ save_fcc(msg, fcc, sizeof(fcc), clear_content, pgpkeylist, flags, &finalpath);
+
+ if (!OptNoCurses && !(flags & SEND_MAILX))
{
mutt_message(i != 0 ? _("Sending in background") :
(flags & SEND_NEWS) ? _("Article posted") : /* USE_NNTP */
#endif
}
- save_fcc(msg, fcc, sizeof(fcc), clear_content, pgpkeylist, flags, &finalpath);
-
if ((WithCrypto != 0) && (msg->security & ENCRYPT))
FREE(&pgpkeylist);