Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: William Xuuu <william_xuuu@163.com>
Subject: send mail directly using smtp ?
Date: Wed, 05 Jan 2005 17:18:26 +0800	[thread overview]
Message-ID: <87r7l0jkt9.fsf@163.com> (raw)


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.

-- 
William


             reply	other threads:[~2005-01-05  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05  9:18 William Xuuu [this message]
2005-01-26 13:00 ` 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=87r7l0jkt9.fsf@163.com \
    --to=william_xuuu@163.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).