diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-03-15 15:32:15 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-03-15 15:32:15 +0000 |
commit | 9f26443a68515fe7683aa5f83c6698b28a39d7f9 (patch) | |
tree | cc68162b26ede03d82b108d1751ec6e56b9b32ae /sendlib.c | |
parent | 0560bde39f6fc62c80843c6ebf3ff11b1debed81 (diff) |
Add $bounce_delivered.
Diffstat (limited to 'sendlib.c')
-rw-r--r-- | sendlib.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1821,9 +1821,13 @@ void mutt_bounce_message (HEADER *h, ADDRESS *to) if ((f = safe_fopen (tempfile, "w")) != NULL) { const char *fqdn; - + int ch_flags = CH_XMIT | CH_NONEWLINE; + + if (!option (OPTBOUNCEDELIVERED)) + ch_flags |= CH_WEED_DELIVERED; + fseek (msg->fp, h->offset, 0); - mutt_copy_header (msg->fp, h, f, CH_XMIT | CH_NONEWLINE, NULL); + mutt_copy_header (msg->fp, h, f, ch_flags, NULL); fprintf (f, "Resent-From: %s", NONULL(Username)); if((fqdn = mutt_fqdn(1))) fprintf (f, "@%s", fqdn); |