[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[smtpmail.el] starttls doesn't work if port is a string
From: |
Jesper Harder |
Subject: |
[smtpmail.el] starttls doesn't work if port is a string |
Date: |
Wed, 11 Feb 2004 02:14:49 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
In GNU Emacs 21.3.50.46 (i686-pc-linux-gnu, GTK+ Version 2.0.2)
of 2004-02-09 on defun.localdomain
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.
BTW, there's also a typo in `smtpmail-try-auth-methods':
*** /home/harder/emacs/lisp/mail/smtpmail.el.~1.64.~ Wed Feb 4 20:16:45 2004
--- /home/harder/emacs/lisp/mail/smtpmail.el Wed Feb 11 00:44:14 2004
***************
*** 496,502 ****
(netrc-get hostentry "login")
(netrc-get hostentry "password"))))
(smtpmail-find-credentials
! smtpmail-auth-credentiaals host port)))
(passwd (when cred
(or (smtpmail-cred-passwd cred)
(read-passwd
--- 496,502 ----
(netrc-get hostentry "login")
(netrc-get hostentry "password"))))
(smtpmail-find-credentials
! smtpmail-auth-credentials host port)))
(passwd (when cred
(or (smtpmail-cred-passwd cred)
(read-passwd
- [smtpmail.el] starttls doesn't work if port is a string,
Jesper Harder <=