Hugh <hu.law...@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-u...@gmail.com
password SECRET
from gmail-u...@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-u...@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


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to