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

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

Re: mail-fcc doesn't write From header


From: Kevin Rodgers
Subject: Re: mail-fcc doesn't write From header
Date: Fri, 10 Sep 2004 10:55:22 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Kevin Rodgers wrote:
> mail-do-fcc writes the From: header if it is present in the message
> composition buffer.  What does `C-h v send-mail-function' say?
>
> For sendmail-send-it, a From: header is inserted unless
> mail-from-style is set to system-default.
>
> For smtpmail-send-it, a From: header is inserted unless
> mail-from-style is something other than angles, parens, or nil.

I suspect that difference between sendmail-send-it and
smtpmail-send-it is unintentional, as is this other difference in the
handling of the From: header:

* sendmail-send-it checks for non-ASCII characters in the fullname and
  escapes them using rfc2047-encode-string; smtpmail-send-it does not.

Perhaps that section (starting with the following comment) should be
modularized into its own mail-do-from function that both *-send-it
functions could call (like mail-do-fcc).

            ;; Put the "From:" field in unless for some odd reason
            ;; they put one in themselves.

--
Kevin Rodgers





reply via email to

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