us-ascii view source code


Path:  news2.ip-mobilphone.net ! NNTPLoader.ip-mobilphone.net ! news.tiscali.de ! feed.news.nacamar.de ! news.maxwell.syr.edu ! cyclone.bc.net ! nntp.itservices.ubc.ca ! not-for-mail
From:  Philip Austin <paustin@eos.ubc.ca>
Newsgroups:  gnu.emacs.vm.bug
Subject:  FAQ #3.2
Date:  30 May 2002 13:04:42 -0700
Organization:  Atmospheric Sciences, University of British Columbia
Lines:  28
Sender:  phil@thrush.eos.ubc.ca
Message-ID:  <m3g0098krp.fsf@thrush.eos.ubc.ca>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
X-Trace:  nntp.itservices.ubc.ca 1022789082 15503 137.82.23.137 (30 May 2002 20:04:42 GMT)
X-Complaints-To:  abuse@interchange.ubc.ca
Cc:  paustin@eos.ubc.ca
User-Agent:  Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
Xref:  news2.ip-mobilphone.net gnu.emacs.vm.bug:488

I just tried to implement the following FAQ:

__________________

3.2. Can I set the "From:" address and the "Reply-to:" address?


Yes, by adding this lisp code to your .emacs file:

(setq mail-default-reply-to "username@example.com")
(setq user-mail-address "Your Name <username@example.com>")
--

and found that setting

(setq user-mail-address "Philip Austin <paustin@eos.ubc.ca>")

gives a from field that looks like:

From: "phil <Philip Austin" <paustin@eos.ubc.ca>

The fix for me, under vm "7.04" and xemacs 21.4, is to add:

(setq user-full-name "Philip Austin")
(setq mail-default-reply-to "paustin@eos.ubc.ca")
(setq user-mail-address "paustin@eos.ubc.ca")

Regards, Phil Austin