unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Justus-bulk@Piater.name
Subject: smtpmail.el feature request: envelope-sender from From:
Date: Sat, 30 Sep 2006 15:06:39 +0200	[thread overview]
Message-ID: <x8tzmchtsf4.fsf@tool.montefiore.ulg.ac.be> (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

             reply	other threads:[~2006-09-30 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-30 13:06 Justus-bulk [this message]
2006-09-30 17:56 ` smtpmail.el feature request: envelope-sender from From: Glenn Morris
2006-09-30 18:24   ` Justus-bulk
2006-09-30 18:28     ` Chong Yidong
2006-10-01  0:04 ` Richard Stallman

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=x8tzmchtsf4.fsf@tool.montefiore.ulg.ac.be \
    --to=justus-bulk@piater.name \
    /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).