emacs-devel
[Top][All Lists]
Advanced

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

Re: Default for the envelope From in smtpmail.el


From: Glenn Morris
Subject: Re: Default for the envelope From in smtpmail.el
Date: Sat, 11 Aug 2012 22:08:06 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

chad wrote:

> I suspect that Glenn is talking about the case where Emacs is
> pretending to be an MTA.

Not as far as I know. I'm talking about plain old talking to an SMTP
server. smtpmail-via-smtp (abbreviated) does this:

(smtpmail-send-command "MAIL FROM:" envelope-from ...)

Currently envelope-from defaults to user-mail-address, which may bear no
relation to the From: header, which I argue is what the majority will
want to use. This is particularly likely to cause problems if you have
multiple email accounts, since there is only one value of
user-mail-address, which cannot be right for all of them. But I find it
hard to think of any case where you want to sent to MAIL FROM != From:.
They might exist, but should not be the default.



reply via email to

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