Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: send mail directly using smtp ?
Date: Wed, 26 Jan 2005 14:00:17 +0100	[thread overview]
Message-ID: <iluekg8jqfy.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87r7l0jkt9.fsf@163.com>

William Xuuu <william_xuuu@163.com> writes:

> Hi!
>
> I have the following in my .gnus.el:
>
> (require 'smtpmail)
> (setq send-mail-function 'smtpmail-send-it
>       message-send-mail-function 'smtpmail-send-it
>       smtpmail-smtp-server "smtp.163.com"
>       smtpmail-default-smtp-server "smtp.163.com"
>       smtpmail-smtp-service 25
>       smtpmail-auth-credentials '(("smtp.163.com" 25 "william_xuuu"
>       "secret")))
>
> (setq smtpmail-debug-info t)
>
> When sending mail, i get an error: 
>
> Sending...
> Sending via mail...
> 220 Coremail SMTP(Anti Spam) System (163com[20030606])
> 250-smtp3
> 250-PIPELINING
> 250-AUTH LOGIN PLAIN NTLM
> 250-AUTH=LOGIN PLAIN NTLM
> 250 8BITMIME
> 553 You are not authorized to send mail as <MAIL FROM:
> <william_xuuu@163.com>>, authentication is required
> 221 Bye
> smtpmail-send-it: Sending failed; SMTP protocol error
>
> Am i doing anything wrong? It's really very annoying when i can't use my
> Gnus to send mail. Any help would be greatly appreciated.

Are you using smtpmail.el/sendmail.el from Emacs CVS or latest XEmacs
mail-lib?


      reply	other threads:[~2005-01-26 13:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05  9:18 William Xuuu
2005-01-26 13:00 ` 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=iluekg8jqfy.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).