From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jack@mail.org Newsgroups: gmane.emacs.help Subject: Re: How to send a mail using smtp? Date: 19 Dec 2004 21:43:20 +0800 Organization: Bentium Ltd. (CN99) Message-ID: References: <32lcr2F2g1p01U1@individual.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103463891 27822 80.91.229.6 (19 Dec 2004 13:44:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2004 13:44:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 19 14:44:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cg1Mb-0007MQ-00 for ; Sun, 19 Dec 2004 14:44:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cg1Wz-0002b6-LJ for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Dec 2004 08:55:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 218.108.171.106 Original-X-Trace: news.yaako.com 1103463942 16301 218.108.171.106 (19 Dec 2004 13:45:42 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Sun, 19 Dec 2004 13:45:42 +0000 (UTC) Original-Sender: =?iso-8859-1?q?=D6=EC=BD=A8=B2=A8@DANIU?= Original-Sender: =?iso-8859-9?q?=D6=EC=BD=A8=B2=A8@DANIU?= User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:127417 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22864 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22864 D P Schreber writes: > On 2004-12-19, Jack@mail.org wrote: > > Can you tell me how to config my emacs to send mail by using smtp? > > You mean by using a remote smtp server? The following works for me: > > > (setq send-mail-function 'smtpmail-send-it > message-send-mail-function 'smtpmail-send-it > smtpmail-default-smtp-server "your.smtp.server.here" > smtpmail-smtp-service "smtp" > sendmail-program "MAIL_NOT_SENT" > smtpmail-debug-info nil) > > (load-library "smtpmail") > > > > where you would of course replace "your.smtp.server.here" with the name of > your actual smtp server. So no user info should be provided?