info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs 23.1 and sending email through msmtp


From: Sivaram Neelakantan
Subject: Emacs 23.1 and sending email through msmtp
Date: Fri, 31 Jul 2009 07:37:00 +0530
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (windows-nt)

Apparently in 23.1, on windows at least, you may have to set 
message-send-mail-function explicitly to use sendmail.  On the earlier
22.2, this was not needed if you're using some other MDA.

(setq message-send-mail-function 'message-send-mail-with-sendmail)
;;;use msmtp instead of sendmail
(setq sendmail-program "/usr/sbin/msmtp")

Otherwise Emacs tries to launch the default windows associated mail
client.  In my case, it was puzzling to see it launch Firefox when I
was trying to send email.  A look at the docs showed that there are a
number of options to message-send-mail-function.

Hope this helps someone in a similar situation.

 sivaram
 -- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]