From: lrnr <ns@nospam.com>
Subject: Re: SMTP with Gnus
Date: Sat, 11 Sep 2004 16:43:34 GMT [thread overview]
Message-ID: <86brgcsqm1.fsf@znain.com> (raw)
In-Reply-To: <iluekl9yonw.fsf@latte.josefsson.org>
>>>>> "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
next prev parent reply other threads:[~2004-09-11 16:43 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 [this message]
2004-09-11 18:05 ` Simon Josefsson
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=86brgcsqm1.fsf@znain.com \
--to=ns@nospam.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).