Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: SMTP with Gnus
Date: Sat, 11 Sep 2004 20:05:34 +0200	[thread overview]
Message-ID: <iluekl8k7f5.fsf@latte.josefsson.org> (raw)
In-Reply-To: <86brgcsqm1.fsf@znain.com>

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.


      reply	other threads:[~2004-09-11 18:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11  4:40 lrnr
     [not found] ` <m2656lbd6a.fsf@yahoo.com.cn>
     [not found]   ` <iluekl9yonw.fsf@latte.josefsson.org>
2004-09-11 16:43     ` lrnr
2004-09-11 18:05       ` Simon Josefsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluekl8k7f5.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).