unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Francesco Potortì" <pot@gnu.org>
To: Eli Zaretskii <eliz@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:17:05 +0100	[thread overview]
Message-ID: <E1cS4XM-0005GH-5N@tucano.isti.cnr.it> (raw)
In-Reply-To: <83y3yfasel.fsf@gnu.org>


>> 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

Hm.  It seems you did not send using sendmail (which is what 'transport
does in my recipe), but you used 'smtp instead.  In my running Emacs,
the last three variables are not even defined.

user-full-name is initialised (if I am not wrong) from /etc/passwd

user-mail-address, in may case, is taken from the $EMAIL env var





  reply	other threads:[~2017-01-13 16:17 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
2017-01-13 16:17       ` Francesco Potortì [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1cS4XM-0005GH-5N@tucano.isti.cnr.it \
    --to=pot@gnu.org \
    --cc=25436@debbugs.gnu.org \
    --cc=eliz@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).