From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeff Clough Newsgroups: gmane.emacs.help Subject: Re: Moving from Thunderbird to Emacs for mail and calendar Date: Wed, 09 Sep 2009 13:55:38 -0400 Message-ID: <4AA7EC1A.201@chaosphere.com> References: <4AA6E9D5.9050800@chaosphere.com> <4AA7B21C.4000008@chaosphere.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252519225 1966 80.91.229.12 (9 Sep 2009 18:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 18:00:25 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 20:00:16 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlRSo-0003VT-RN for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 20:00:15 +0200 Original-Received: from localhost ([127.0.0.1]:57261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlRSo-0003pr-Ex for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Sep 2009 14:00:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlRPU-0002cC-D8 for help-gnu-emacs@gnu.org; Wed, 09 Sep 2009 13:56:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlRPP-0002Zh-EU for help-gnu-emacs@gnu.org; Wed, 09 Sep 2009 13:56:47 -0400 Original-Received: from [199.232.76.173] (port=45675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlRPP-0002ZZ-92 for help-gnu-emacs@gnu.org; Wed, 09 Sep 2009 13:56:43 -0400 Original-Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:39019) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlRPO-0006HR-Qx for help-gnu-emacs@gnu.org; Wed, 09 Sep 2009 13:56:42 -0400 Original-Received: from [127.0.0.1] (really [66.65.230.106]) by hrndva-omta02.mail.rr.com with ESMTP id <20090909175641691.FIQZ28062@hrndva-omta02.mail.rr.com> for ; Wed, 9 Sep 2009 17:56:41 +0000 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <4AA7B21C.4000008@chaosphere.com> X-Antivirus: avast! (VPS 090909-0, 09/09/2009), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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: news.gmane.org gmane.emacs.help:68005 Archived-At: Jeff Clough wrote: > Sending Mail > > In the process of all this looking, I decided to try to get *sending* > mail to work. I hear tell from this faq > (http://www.gnu.org/software/emacs/windows/Network-access.html) that > emacs can "talk directly to SMTP mail servers" via smtpmail.el. I > stuffed the following in my .emacs: > > (setq user-full-name "Your full name") > (setq user-mail-address "Your@email.address") > (setq smtpmail-default-smtp-server "domain.name.of.your.smtp.server") > (setq send-mail-command 'smtpmail-send-it) ; For mail-mode (Rmail) > > > Did C-x m, wrote stuff, did C-c C-c and promptly got a Thunderbird > window popping up the message (well, actually it told me to paste the > message in because the text had been conveniently dropped on my > clipboard, thankfully obliterating what was there before). Is there a > way to stop this from happening and for Emacs to just send it itself? > "Talk directly to SMTP mail servers" doesn't mean "Fire up another > application" in my opinion. > Alright, one thing solved: The last line of lisp above should be setting send-mail-function, not send-mail-command. Changing that, fixed it so I can send mail via Emacs without Thunderbird getting involved. I stumbled across a message (here: http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/a42ca24f5d540d35) that clued me in. Apparently if you don't set this variable now, Emacs does in fact toss the buffer at your default mailer. Given the faq I mentioned in my original post appears to have it wrong, how do I go about filing a doc bug? Jeff -- Author of the Genesys System A "free" universal role-playing game. http://www.chaosphere.com/genesys/