[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: send mail directly using smtp ?
From: |
Simon Josefsson |
Subject: |
Re: send mail directly using smtp ? |
Date: |
Wed, 26 Jan 2005 14:00:17 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
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?