+2009-03-18 Richard M Stallman <rms@gnu.org>
+
+ * mail/rmail.el (rmail-retry-ignored-headers): Add usual mime headers.
+ (rmail-retry-failure): Undo previous change.
+
2009-03-18 Kenichi Handa <handa@m17n.org>
* international/mule.el (after-insert-file-set-coding):
:group 'rmail-headers)
;;;###autoload
-(defcustom rmail-retry-ignored-headers "^x-authentication-warning:"
+(defcustom rmail-retry-ignored-headers "^x-authentication-warning:\\|content-type:\\|content-transfer-encoding:\\|mime-version:"
"Headers that should be stripped when retrying a failed message."
:type '(choice regexp (const nil :tag "None"))
:group 'rmail-headers)
(mail-sendmail-delimit-header)
(save-restriction
(narrow-to-region (point-min) (mail-header-end))
- (rmail-delete-headers rmail-ignored-headers)
(rmail-delete-headers rmail-retry-ignored-headers)
(rmail-delete-headers "^\\(sender\\|return-path\\|received\\):")
(setq resending (mail-fetch-field "resent-to"))