all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Francesco Potortì" <pot@gnu.org>
Cc: 25436@debbugs.gnu.org
Subject: bug#25436: 25.1; sendmail does not add a Date: header in FCC
Date: Fri, 13 Jan 2017 17:30:58 +0200	[thread overview]
Message-ID: <83y3yfasel.fsf@gnu.org> (raw)
In-Reply-To: <E1cS32T-00063A-OC@tucano.isti.cnr.it> (message from Francesco Potortì on Fri, 13 Jan 2017 15:41:07 +0100)

> Date: Fri, 13 Jan 2017 15:41:07 +0100
> From: Francesco Potortì <pot@gnu.org>
> Cc: 25436@debbugs.gnu.org
> 
> $ emacs -Q
> M-: (setq mail-user-agent 'sendmail-user-agent)
> C-xm
> add a recipient, subject and text at will
> C-cC-fC-f
> specify an FCC file at will
> C-cC-c
> transport RET
> 
> Now if I look at the FCC file, I see that the sent mail does not contain
> a Date: header.

I did the above, and I do see the "Date" header.  However, I needed a
few additional settings before I could proceed after "C-c C-c".  Here
are the variables I needed to set:

  user-full-name
  user-mail-address
  smtpmail-smtp-server
  smtpmail-smtp-service
  smtpmail-stream-type

Not sure if any of the above is relevant to the issue at hand.

Can you step through sendmail-send-it, and see what happens there with
the date header?  According to my reading of the code, by the time
mail-do-fcc is invoked, the Date header is supposed to be already in
the mail buffer, and that buffer is inserted verbatim into FCC.





  reply	other threads:[~2017-01-13 15:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13 14:15 bug#25436: 25.1; sendmail does not add a Date: header in FCC Francesco Potortì
2017-01-13 14:26 ` Eli Zaretskii
2017-01-13 14:41   ` Francesco Potortì
2017-01-13 15:30     ` Eli Zaretskii [this message]
2017-01-13 16:17       ` Francesco Potortì
2017-01-13 16:25         ` Eli Zaretskii
2017-01-13 17:48           ` Glenn Morris
2017-01-13 18:38             ` Francesco Potortì
2017-01-14  8:57               ` Eli Zaretskii
2017-01-13 18:55             ` Francesco Potortì

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y3yfasel.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25436@debbugs.gnu.org \
    --cc=pot@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.