unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* smtpmail.el feature request: envelope-sender from From:
@ 2006-09-30 13:06 Justus-bulk
  2006-09-30 17:56 ` Glenn Morris
  2006-10-01  0:04 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Justus-bulk @ 2006-09-30 13:06 UTC (permalink / raw)


Hi -

I'd like the envelope-sender to be taken from the From: field.

This is handy if you have several e-mail addresses, some of which are
aliases and have no associated mail server, and you want to send to
members-only mailing lists that check list membership by
envelope-sender/Return-Path.

This is possible by letting (smtpmail-mail-address (mail-fetch-field
"from")) in smtpmail-send-it, which I use for now with a hacked
version of smtpmail.el.

Of course, this should be configurable, as message.el allows it with
sendmail, see message-sendmail-envelope-from. The same mechanism
should be fairly easily implemented for smtpmail, by replacing my
quick hack by a few more lines of code, perhaps by using
mail-envelope-from in the same way as message-sendmail-envelope-from
(with a 'header value), or by using message-sendmail-envelope-from.

Would this be reasonable?

Besides, why are there two separate variables (mail-envelope-from and
message-sendmail-envelope-from) for seemingly identical purposes?

Cheers,
Justus

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-01  0:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-30 13:06 smtpmail.el feature request: envelope-sender from From: Justus-bulk
2006-09-30 17:56 ` Glenn Morris
2006-09-30 18:24   ` Justus-bulk
2006-09-30 18:28     ` Chong Yidong
2006-10-01  0:04 ` Richard Stallman

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