[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SMTP with Gnus
From: |
lrnr |
Subject: |
Re: SMTP with Gnus |
Date: |
Sat, 11 Sep 2004 16:43:34 GMT |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:
Simon> zrr <beijing_2008_gold@yahoo.com.cn> writes:
>> lrnr <ns@nospam.com> writes:
>>
>> Hi,
>>
>> Here is my configuration in the .gnus.el
>>
>> (load "smtpmail") (setq smtpmail-smtp-server
>> "smtp.mail.yahoo.com.cn") (setq smtpmail-default-smtp-server
>> "smtp.mail.yahoo.com.cn") (setq send-mail-function
>> 'smtpmail-send-it) (setq message-send-mail-function
>> 'smtpmail-send-it) (setq smtpmail-smtp-service 25) (setq
>> smtpmail-auth-credentials '(("smtp.mail.yahoo.com.cn" 25
>> "account_name" "xxxxxxxxxxx"))) ^^^^^^^^^^^^without @yahoo.xxx
Simon> Looks good. Did you really load the correct smtpmail.el? If
Simon> you do C-h v smtpmail-auth-credentials RET, do you see an
Simon> explanation for the variable?
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.
Thanks
--
lrnr