Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Hugh Lawson <hu.lawson@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: msmtp instead of gnutls was Re: gnutls windows smtp
Date: Mon, 05 Apr 2010 15:21:41 -0400	[thread overview]
Message-ID: <877hold7sq.fsf@gmail.com> (raw)
In-Reply-To: <de4ebdc3-f5a9-4368-8097-3d64517b0766@35g2000yqm.googlegroups.com>

Hugh <hu.lawson@gmail.com> writes:

[ snip ]
GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002)
XP Pro
msmtp

Goal: use mx-mail in emacs to send email, by the gmail
smtp server, and use 'm' command in gnus to send email.

Here the the configuration files.

#msmtprc.txt--anonymized
host smtp.gmail.com
port 587
auth on
tls on
tls_starttls on
#next line was the hard part
#I had to study 
tls_trust_file <path to >\filename.pem
user GMAIL-USER@gmail.com
password SECRET
from GMAIL-USer@gmail.com
#end msmtprc.txt--anonymized


;;started with *empty* .emacs file.
;;.emacs init file--anonymized
(global-set-key [f1] `help)
(global-set-key "\C-xh"  'help)
;;
(setq gnus-select-method '(nntp "my.news.server.com"))
(setq message-send-mail-function 'sendmail-send-it)
(setq send-mail-function 'sendmail-send-it)
(setq sendmail-program "c:/Program Files/msmtp-1.4.20-w32/msmtp.exe")
(setq user-full-name "Who Indeed")
(setq user-mail-address "GMAIL-USER@gmail.com")
;; end of .emacs init file


I started with msmtp. Only when I could by the command line
send an email with msmtp did I begin to work with emacs. 

To keep things simple in emacs, I moved the existing .emacs
init file aside, and began with an empty .emacs file.

Hugh

      reply	other threads:[~2010-04-05 19:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 20:38 Hugh
2010-03-26 16:42 ` Hugh Lawson
2010-03-27 12:01   ` Paul Bibbings
2010-03-27 12:17     ` Hugh Lawson
2010-03-29 12:26   ` Pascal Quesseveur
2010-03-30  5:16     ` Hugh Lawson
2010-03-30 21:39       ` msmtp instead of gnutls was " Hugh Lawson
2010-03-30 21:04         ` Ted Zlatanov
2010-04-02 18:51           ` Hugh
2010-04-05 19:21             ` Hugh Lawson [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

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

  git send-email \
    --in-reply-to=877hold7sq.fsf@gmail.com \
    --to=hu.lawson@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /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.
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 NNTP newsgroup(s).