[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to send a mail using smtp?

From: D P Schreber
Subject: Re: How to send a mail using smtp?
Date: 19 Dec 2004 13:08:50 GMT
User-agent: slrn/ (Darwin)

On 2004-12-19, address@hidden <address@hidden> 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      ""
      smtpmail-smtp-service             "smtp"
      sendmail-program                  "MAIL_NOT_SENT"
      smtpmail-debug-info               nil)

(load-library "smtpmail")

where you would of course replace "" with the name of
your actual smtp server.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]