diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-10-16 08:52:08 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-10-16 08:52:08 +0000 |
commit | b72b3ab689c2b9272430c6d2be4bea3d64a918e9 (patch) | |
tree | dba3287e6e3e5f14c51958ba2aebed79998e9880 /send.c | |
parent | 87b9353b6579b048f27fd7b14cf38ff2f287e0ee (diff) |
Fix Debian bug #47408: When the postponed folder is a maildir,
messages should only be written to the _new_ subdirectory.
Diffstat (limited to 'send.c')
-rw-r--r-- | send.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1192,6 +1192,13 @@ main_loop: /* postpone the message until later. */ if (msg->content->next) msg->content = mutt_make_multipart (msg->content); + + /* + * make sure the message is written to the right part of a maildir + * postponed folder. + */ + msg->read = 0; msg->old = 0; + if (!Postponed || mutt_write_fcc (NONULL (Postponed), msg, (cur && (flags & SENDREPLY)) ? cur->env->message_id : NULL, 1, fcc) < 0) { msg->content = mutt_remove_multipart (msg->content); |