From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4098 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.user Subject: Re: SMTP with Gnus Date: Sat, 11 Sep 2004 20:05:34 +0200 Message-ID: References: <86k6v11kp8.fsf@znain.com> <86brgcsqm1.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 1138670095 21808 80.91.229.2 (31 Jan 2006 01:14:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:14:55 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:14 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: my.nada.kth.se Original-X-Trace: quimby.gnus.org 1094925947 10802 130.237.226.234 (11 Sep 2004 18:05:47 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 11 Sep 2004 18:05:47 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:y7L0tISKR80me8jraxxt7hhQXEg= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4239 Original-Lines: 41 X-Gnus-Article-Number: 4239 Tue Jan 17 17:33:14 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4098 Archived-At: lrnr writes: > 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. The page now read: ;; Authenticate using this username and password against my server. (setq smtpmail-auth-credentials '(("HOSTNAME" "PORT" "USERNAME" "PASSWORD"))) ;; Note that if PORT is an integer, you must not quote it as a ;; string. Normally PORT should be the integer 25, and the example ;; become: (setq smtpmail-auth-credentials '(("HOSTNAME" 25 "USERNAME" "PASSWORD"))) ;; Use STARTTLS without authentication against the server. (setq smtpmail-starttls-credentials '(("HOSTNAME" "PORT" nil nil))) Thanks.