From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4378 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.user Subject: Re: send mail directly using smtp ? Date: Wed, 26 Jan 2005 14:00:17 +0100 Message-ID: References: <87r7l0jkt9.fsf@163.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670313 22992 80.91.229.2 (31 Jan 2006 01:18:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:18:33 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:40 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: my.nada.kth.se Original-X-Trace: quimby.gnus.org 1106744432 23850 130.237.226.234 (26 Jan 2005 13:00:32 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 26 Jan 2005 13:00:32 +0000 (UTC) OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050126:gnu.emacs.gnus::nMWMOiNS4Opk+xfa:3DMn User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:UmHe5ON9uz3n+rNxsgIzU3G8yDE= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4519 Original-Lines: 37 X-Gnus-Article-Number: 4519 Tue Jan 17 17:33:40 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4378 Archived-At: William Xuuu 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 >, 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?