emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Erwin Panen <erwinpanen@fastmail.fm>
Cc: emacs-orgmode@gnu.org
Subject: Re: orgmode / emacs /msmtp on winxp
Date: Sun, 23 Jan 2011 00:07:40 +0000	[thread overview]
Message-ID: <871v445voz.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4D3B6057.8070708@fastmail.fm> (Erwin Panen's message of "Sat, 22 Jan 2011 23:55:19 +0100")

Erwin Panen <erwinpanen@fastmail.fm> 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)

      reply	other threads:[~2011-01-23  0:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-22 22:55 orgmode / emacs /msmtp on winxp Erwin Panen
2011-01-23  0:07 ` Eric S Fraga [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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871v445voz.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=erwinpanen@fastmail.fm \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).