From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: D P Schreber Newsgroups: gmane.emacs.help Subject: Re: How to send a mail using smtp? Date: 19 Dec 2004 14:43:45 GMT Message-ID: <32lid1F3nq6ivU1@individual.net> References: <32lcr2F2g1p01U1@individual.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1103467510 3056 80.91.229.6 (19 Dec 2004 14:45:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2004 14:45:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 19 15:44:59 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 1Cg2It-0001Gk-00 for ; Sun, 19 Dec 2004 15:44:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cg2TI-0005VA-Jn for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Dec 2004 09:55:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: individual.net 9tZJLodFfgD+czuAJ/QApwwXtoX2jiyp/F5mvhw27AOduCZvJh User-Agent: slrn/0.9.8.1 (Darwin) Original-Xref: shelby.stanford.edu gnu.emacs.help:127419 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:22866 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22866 On 2004-12-19, Jack@mail.org wrote: > So no user info should be provided? [PLEASE edit quoted text before posting followups] My smtp server allows authentication but doesn't require it, so in this context I never bothered to figure out how to set it up. If yours requires authentication, try info for 'SMTP'. Looks like you want to set smtpmail-auth-credentials and maybe also smtpmail-starttls-credentials. smtpmail-auth-credentials's value is "~/.authinfo" Specify username and password for servers, directly or via .netrc file. This variable can either be a filename pointing to a file in netrc(5) format, or list of four-element lists that contain, in order, `servername' (a string), `port' (an integer), `user' (a string) and `password' (a string, or nil to query the user when needed). If you need to enter a `realm' too, add it to the user string, so that it looks like `user@realm'.