From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bob Babcock Newsgroups: gmane.emacs.help Subject: Re: How to send a mail using smtp? - solved! (but need help with "Mail From:") Date: Wed, 22 Dec 2004 04:25:45 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <32lcr2F2g1p01U1@individual.net> <32lid1F3nq6ivU1@individual.net> <41C74C31.8040305@att.net> <0hXxd.16785$uM5.7110@bgtnsc05-news.ops.worldnet.att.net> <2h_xd.17273$uM5.13591@bgtnsc05-news.ops.worldnet.att.net> <32rnhkF3qqskdU1@individual.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1103689774 15369 80.91.229.6 (22 Dec 2004 04:29:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2004 04:29:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 22 05:29:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cgy7o-0007W8-00 for ; Wed, 22 Dec 2004 05:29:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CgyIL-0006d3-M0 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Dec 2004 23:40:17 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!0053d051!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Xnews/06.07.17 Original-Lines: 15 Original-NNTP-Posting-Host: 66.167.185.10 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.news.atl.earthlink.net 1103689545 66.167.185.10 (Tue, 21 Dec 2004 20:25:45 PST) Original-NNTP-Posting-Date: Tue, 21 Dec 2004 20:25:45 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:127464 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22913 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22913 Kevin Rodgers wrote in news:32rnhkF3qqskdU1@individual.net: > Yes, there's a better way, since Emacs has anticipated your problems > and provided variables to solve them: > > (setq user-full-name "My Name" > user-mail-address "username@domain.net" > mail-default-reply-to user-mail-address > mail-from-style 'angles) That's what happens when you migrate .emacs from release to release over a period of years; you end up with stuff that is no longer necessary. On the other hand, the above elisp (in emacs 20.3 rmail) doesn't insert the From: line until the mail is sent. I like to see it during message composition.