From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: orgmode / emacs /msmtp on winxp Date: Sun, 23 Jan 2011 00:07:40 +0000 Message-ID: <871v445voz.fsf@ucl.ac.uk> References: <4D3B6057.8070708@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=60102 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgnUn-0001Ip-K3 for emacs-orgmode@gnu.org; Sat, 22 Jan 2011 19:07:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgnUj-0007qf-Ci for emacs-orgmode@gnu.org; Sat, 22 Jan 2011 19:07:53 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:52743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgnUj-0007qa-8Y for emacs-orgmode@gnu.org; Sat, 22 Jan 2011 19:07:49 -0500 In-Reply-To: <4D3B6057.8070708@fastmail.fm> (Erwin Panen's message of "Sat, 22 Jan 2011 23:55:19 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Erwin Panen Cc: emacs-orgmode@gnu.org Erwin Panen writes: > Hi, > > I guess this is perhaps more emacs related but here goes: > > I'm trying to get going with gnus. > My system is running XP. > I have msmtp installed and working. (tested using cli) > In emacs using eshell and issuing msmtp --v I get the correct output. > > Versions: > Gnus 5.13 > Emacs 23.2.1 > msmtp 1.4.17 > > What goes wrong is this: > In emacs I issue M-x mail, fill in, and C-c C-c to send => this opens > my Thunderbird client. > > I've added the equivalent of these to .emacs and .gnus > ------------------------------------------------------------------- > ;; with Emacs 23.1, you have to set this explicitly (in MS Windows) > ;; otherwise it tries to send through OS associated mail client > (setq message-send-mail-function 'message-send-mail-with-sendmail) > ;; we substitute sendmail with msmtp > (setq sendmail-program "c:/gnu/bin/msmtp.exe") > ;;need to tell msmtp which account we're using > (setq message-sendmail-extra-arguments '("-a" "anderson")) > ;; you might want to set the following too > (setq mail-host-address "gmail.com") > (setq user-full-name "Anderson Guy") > (setq user-mail-address "sivaram.notthere@gmail.com") > > What can I do to debug this behaviour? Probably can't help you much but I have =mail-user-agent= set to =gnus-user-agent= in my case. You may wish to set it to =sendmail-user-agent=. I don't use MS Windows, mind you. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.232.g8d003.dirty)