Variable: feedmail-date-generator
feedmail-date-generator is a customizable variable defined in
feedmail.el.gz.
Value
t
Documentation
Specifies the creation of a Date: header field.
If nil, nothing is done about Date:.
If t, a Date: header of a predetermined format is produced, but only
if there is not already a Date: in the message. A value of t is
equivalent to using the function feedmail-default-date-generator.
If neither nil nor t, it may be a string, a fiddle-plex, or a function
which returns either nil, t, a string, or a fiddle-plex (or, in fact,
another function, but let's not be ridiculous). If a string, it
should be just the contents of the header, not the name of the header
itself nor the trailing newline. If a function, it will be called
with one argument: the possibly-nil name of the file associated with
the message buffer. For an explanation of fiddle-plexes, see the
documentation for the variable feedmail-fiddle-plex-blurb. In all
cases the name element of the fiddle-plex is ignored and is hardwired
by feedmail to either "Date" or "Resent-Date".
If you decide to format your own date field, do us all a favor and know what you're doing. Study the relevant parts of RFC-822-or-later and RFC-1123. Don't make me come up there!
You should let feedmail generate a Date: for you unless you are sure that whatever you give your messages to will do it for you (e.g., most configurations of sendmail). Even if the latter case is true, it probably won't hurt you to generate your own, and it will then show up in the saved message if you use Fcc:.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/feedmail.el.gz
;; this was suggested in various forms by several people; first was
;; Tony DeSimone in Oct 1992; sorry to be so tardy
(defcustom feedmail-date-generator t
"Specifies the creation of a Date: header field.
If nil, nothing is done about Date:.
If t, a Date: header of a predetermined format is produced, but only
if there is not already a Date: in the message. A value of t is
equivalent to using the function `feedmail-default-date-generator'.
If neither nil nor t, it may be a string, a fiddle-plex, or a function
which returns either nil, t, a string, or a fiddle-plex (or, in fact,
another function, but let's not be ridiculous). If a string, it
should be just the contents of the header, not the name of the header
itself nor the trailing newline. If a function, it will be called
with one argument: the possibly-nil name of the file associated with
the message buffer. For an explanation of fiddle-plexes, see the
documentation for the variable `feedmail-fiddle-plex-blurb'. In all
cases the name element of the fiddle-plex is ignored and is hardwired
by feedmail to either \"Date\" or \"Resent-Date\".
If you decide to format your own date field, do us all a favor and know
what you're doing. Study the relevant parts of RFC-822-or-later and RFC-1123.
Don't make me come up there!
You should let feedmail generate a Date: for you unless you are sure
that whatever you give your messages to will do it for you (e.g., most
configurations of sendmail). Even if the latter case is true, it
probably won't hurt you to generate your own, and it will then show up
in the saved message if you use Fcc:."
:group 'feedmail-headers
:type '(choice (const t) (const nil) function)
)