help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: What's needed in .emacs on w32 build to send bug report thru the *ma


From: William Gardella
Subject: Re: What's needed in .emacs on w32 build to send bug report thru the *mail-to- address@hidden* buffer
Date: Thu, 01 Nov 2012 22:15:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Ed,

"B. T. Raven" <btraven@nihilo.net> writes:

> I tried to sent bug report directly thru emacs ... menu>help>Send bug
> report....  and saw this in *Messages* buffer:
>
> ......
> Sending...
> Sending via mail...
> open-network-stream: make client process failed: connection timed out,
> :name, SMTP, :buffer, *trace of SMTP session to smtp.gmail.com*, :host,
> smtp.gmail.com, :service, 25
>
> ......
>
>
> So I copy pasted the relevant stuff out of the Emacs mail buffer into
> Thunderbird and sent it that way. What would I have to to my .emacs to
> make the process work directly from Emacs.

You'd need to have a working SMTP configuration for Emacs.  At a guess,
this didn't work on this occasion because it was trying to use a (maybe
unencrypted) connection to gmail at port 25 (the sendmail port), when
gmail probably expects a TLS connection to port 587 (the mail submission
port).  Have a look at (info "(smtpmail) Emacs Speaks SMTP"), (info
"(smtpmail) Authentication"), and (info "(smtpmail) Encryption") which
cover the builtin Emacs `smptmail' library.

If you have a properly configured MTA on your system, Emacs can use that
instead, e.g. with (setq message-send-mail-function 'sendmail-send-it).

The `message' library used to compose Emacs bug reports is the same as
that used to compose messages in Gnus and other Emacs mail and news
clients, so if you were able to get this working, you'd be a signifcant
part of the way toward trying to do your mail from Emacs. :)

Hope this helps,
WGG

-- 
I use grml (http://grml.org/)


reply via email to

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