Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* send mail directly using smtp ?
@ 2005-01-05  9:18 William Xuuu
  2005-01-26 13:00 ` Simon Josefsson
  0 siblings, 1 reply; 2+ messages in thread
From: William Xuuu @ 2005-01-05  9:18 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: send mail directly using smtp ?
  2005-01-05  9:18 send mail directly using smtp ? William Xuuu
@ 2005-01-26 13:00 ` Simon Josefsson
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 2005-01-26 13:00 UTC (permalink / raw)


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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-26 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05  9:18 send mail directly using smtp ? William Xuuu
2005-01-26 13:00 ` Simon Josefsson

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).