bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25436: 25.1; sendmail does not add a Date: header in FCC


From: Eli Zaretskii
Subject: bug#25436: 25.1; sendmail does not add a Date: header in FCC
Date: Sat, 14 Jan 2017 10:57:52 +0200

> Date: Fri, 13 Jan 2017 19:38:41 +0100
> From: Francesco Potortì <address@hidden>
> Cc: address@hidden, Eli Zaretskii <address@hidden>
> 
> >smtpmail-send-it adds Date: at sending time.
> >
> >sendmail.el has always relied on "sendmail" adding Date:, AFAICS.
> >mail-do-fcc only adds Date: for Babyl files.
> >Perhaps the date in the mbox From line was assumed to be good enough for
> >the alternative case.
> 
> Ok, thanks for checking.  That's exactly what I was thinking, but had no
> time to verify.
> 
> As far as I understand, the only change needed is in mail-do-fcc:
> 
> 
> --- sendmail.el       2017-01-13 14:46:08.715407789 +0100
> +++ sendmail.el.orig  2017-01-13 14:46:18.735581196 +0100
> @@ -1408,7 +1408,6 @@ just append to the file, in Babyl format
>       (require 'mail-utils)
>       (insert (mail-rfc822-time-zone time) " ")
>       (goto-char (point-max))
> -     (insert "Date: " (mail-rfc822-date) "\n")
>       (insert-buffer-substring mailbuf)
>       ;; Make sure messages are separated.
>       (goto-char (point-max))

Thanks, I preferred to use message-make-date instead.

I'm closing the bug, feel free to reopen if something else is missing.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]