[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [smtpmail.el] starttls doesn't work if port is a string
From: |
Eli Zaretskii |
Subject: |
Re: [smtpmail.el] starttls doesn't work if port is a string |
Date: |
11 Feb 2004 08:42:53 +0200 |
> From: Jesper Harder <address@hidden>
> Date: Wed, 11 Feb 2004 02:14:49 +0100
>
> I don't know if the code or the manual is wrong, but it doesn't work
> to use a string for the port number in `smtpmail-starttls-credentials'.
>
> I.e. something like
>
> (setq smtpmail-starttls-credentials
> '(("smtp.example.com" "25" nil nil)))
>
> doesn't work, but
>
> (setq smtpmail-starttls-credentials
> '(("smtp.example.com" 25 nil nil)))
>
> _does_ work for me. According to <info://smtpmail/Authentication>
> either one should work.
Actually, a string should work, but not a string like "25". If you
use a string, it should be "smtp", i.e. a name of a service.
I think it's a docs bug, not a code bug. The manual should tell
clearly what is expected as a number and what as a string, and give an
example of the latter (it already has an example of the former, IIRC).