[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msmtp instead of gnutls was Re: gnutls windows smtp
From: |
Hugh Lawson |
Subject: |
Re: msmtp instead of gnutls was Re: gnutls windows smtp |
Date: |
Tue, 04 May 2010 15:47:58 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
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