unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: levander <levander404@gmail.com>
Cc: Simon Josefsson <simon@josefsson.org>, help-gnu-emacs@gnu.org
Subject: Re: "From: address is not valid." when sending mail
Date: Sat, 30 Jun 2007 12:13:33 +0200	[thread overview]
Message-ID: <v9wsxl7nsi.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <1183187618.478475.194120@k29g2000hsd.googlegroups.com> (levander's message of "Sat, 30 Jun 2007 07:13:38 -0000")

On Sat, Jun 30 2007, levander wrote:

> I'm not sure why we don't have better documentation for emacs.

Because nobody contributed better documentation.

> From rummaging around the info docs for a couple of hours I found
> out that in gnus, the email address you set for an account overrides
> some user- email-address variable.  Simply trying setting that
> user-email-address on a whim, it turns out that that is where
> smtpmail gets the value from to set in that "MAIL FROM" command
> above.
>
> Correct me if I'm wrong, but I don't think user-email-address even
> shows up in the smtpmail documentation.  I couldn't find it.

I guess you meant `user-mail-address'.  When using Gnus, you should
refer to it's documentation as well.  The Message manual (Gnus' mail
mode) includes:

,----[ (info "(message)Mail Variables") ]
| `message-sendmail-envelope-from'
|      When `message-sendmail-f-is-evil' is `nil', this specifies the
|      address to use in the SMTP envelope.  If it is `nil', use
|      `user-mail-address'.  If it is the symbol `header', use the `From'
|      header of the message.
`----

You can find this via index search `i From RET , , , ,' (`i' =
`Info-index', `,' = `Info-index-next').

But I agree that it would be useful if the smtpmail documentation
would also include something about the envelope From because it seem
to be a frequent problem.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

      parent reply	other threads:[~2007-06-30 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-29 22:30 "From: address is not valid." when sending mail levander
2007-06-30  7:13 ` levander
2007-06-30  8:50   ` Nick Roberts
2007-06-30  8:54   ` Thien-Thi Nguyen
2007-06-30 10:13   ` Reiner Steib [this message]

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=v9wsxl7nsi.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=levander404@gmail.com \
    --cc=simon@josefsson.org \
    /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.
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).