emacs-devel
[Top][All Lists]
Advanced

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

Re: Changing the default for `send-mail-function'


From: Christoph Scholtes
Subject: Re: Changing the default for `send-mail-function'
Date: Sun, 26 Jun 2011 15:20:59 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11

On 6/26/2011 12:35 PM, Chong Yidong wrote:

Agreed, though personally I haven't been able to get smtpmail to work

I am trying on W32 with no success.

I have compiled with gnutls support. (gnutls-available-p) returns t and the following works also:

(require 'gnutls)
(open-gnutls-stream "tls" "tls-buffer" "imap.gmail.com" "imaps")

My configuration looks like this:

(require 'smtpmail)
(setq user-mail-address "address@hidden")
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-service 587)
(setq smtpmail-stream-type 'starttls)
(setq smtpmail-debug-info t)
(setq smtpmail-debug-verb t)

Sending an email results in Emacs hanging. Ctrl-g aborts, then the trace buffer shows:

220 mx.google.com ESMTP a9sm4719085icy.18

Am I missing anything?

Christoph



reply via email to

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