From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4097 Path: news.gmane.org!not-for-mail From: lrnr Newsgroups: gmane.emacs.gnus.user Subject: Re: SMTP with Gnus Date: Sat, 11 Sep 2004 16:43:34 GMT Message-ID: <86brgcsqm1.fsf@znain.com> References: <86k6v11kp8.fsf@znain.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670094 21803 80.91.229.2 (31 Jan 2006 01:14:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:14:54 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:14 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!feed.cgocable.net!cyclone01.bloor.is.net.cable.rogers.com!twister01.bloor.is.net.cable.rogers.com.POSTED!12dc6cf53ab2750!not-for-mail Original-Sender: ou218@znain.com Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: 65.50.47.137 Original-X-Complaints-To: abuse@rogers.com Original-X-Trace: twister01.bloor.is.net.cable.rogers.com 1094921014 65.50.47.137 (Sat, 11 Sep 2004 12:43:34 EDT) Original-NNTP-Posting-Date: Sat, 11 Sep 2004 12:43:34 EDT Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4238 Original-Lines: 47 X-Gnus-Article-Number: 4238 Tue Jan 17 17:33:14 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4097 Archived-At: >>>>> "Simon" == Simon Josefsson writes: Simon> zrr writes: >> lrnr writes: >> >> Hi, >> >> Here is my configuration in the .gnus.el >> >> (load "smtpmail") (setq smtpmail-smtp-server >> "smtp.mail.yahoo.com.cn") (setq smtpmail-default-smtp-server >> "smtp.mail.yahoo.com.cn") (setq send-mail-function >> 'smtpmail-send-it) (setq message-send-mail-function >> 'smtpmail-send-it) (setq smtpmail-smtp-service 25) (setq >> smtpmail-auth-credentials '(("smtp.mail.yahoo.com.cn" 25 >> "account_name" "xxxxxxxxxxx"))) ^^^^^^^^^^^^without @yahoo.xxx Simon> Looks good. Did you really load the correct smtpmail.el? If Simon> you do C-h v smtpmail-auth-credentials RET, do you see an Simon> explanation for the variable? Hi Simon, thanks for your help, As I already explained to "zrr", my problem was that I was setting my smtpmail-auth-credentials with double quotes around the port number, like this: (setq smtpmail-auth-credentials '(("smtp" "25" "username" nil))) Removing the double quotes around the number 25 solves the problem. On your page http://josefsson.org/smtpmail.html#Authentication you have the following example: ;; Authenticate using this username and password against my server. (setq smtpmail-auth-credentials '(("hostname" "port" "username" "password"))) So I just took these lines and substituted my values for the strings, that is way I put the port number in double quotes. Thanks -- lrnr