From: Manuel Giraud Date: Wed, 1 Nov 2023 12:59:37 +0000 (+0100) Subject: Don't need text properties when sending a mail X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0601fb534b200fcaf2bc2a1dd0b7dc1090bbbe6;p=emacs.git Don't need text properties when sending a mail * lisp/mail/smtpmail.el (smtpmail-send-data): Don't get text properties when sending mail data. (Bug#66880) --- diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 78688d170cc..e30c69f2441 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el @@ -1057,8 +1057,8 @@ Returns an error if the server cannot be contacted." (while data-continue (with-current-buffer buffer (progress-reporter-update pr (point)) - (setq sending-data (buffer-substring (line-beginning-position) - (line-end-position))) + (setq sending-data (buffer-substring-no-properties (line-beginning-position) + (line-end-position))) (end-of-line 2) (setq data-continue (not (eobp)))) (smtpmail-send-data-1 process sending-data))