From d7c7fd6a33f4f8b7e008d5e7e1f0f0ae832178c7 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 1 Nov 2023 13:59:37 +0100 Subject: [PATCH] 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. --- lisp/mail/smtpmail.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ smtpmail-send-data (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)) -- 2.42.0