[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SMTP with Gnus
From: |
Simon Josefsson |
Subject: |
Re: SMTP with Gnus |
Date: |
Sat, 11 Sep 2004 20:05:34 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
lrnr <ns@nospam.com> 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.