From 93d54ba104bf85d487eb8e90a4857789e0c9a210 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Tue, 5 Apr 2016 10:28:09 +0200 Subject: [PATCH] Inhibit querying for the encoding of the headers when resending * lisp/gnus/message.el (message-resend): Inhibit querying for the encoding of the headers when resending. --- lisp/gnus/message.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index d4313e0b2f9..14d8d30f8af 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -7637,6 +7637,9 @@ is for the internal use." (let ((case-fold-search t)) (re-search-forward "^mime-version:" nil t))) (message-inhibit-ecomplete t) + ;; We don't want smtpmail.el to encode anything, either. + (sendmail-coding-system 'raw-text) + (select-safe-coding-system-function nil) message-required-mail-headers message-generate-hashcash rfc2047-encode-encoded-words) -- 2.39.2