emacs-devel
[Top][All Lists]
Advanced

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

Re: smtp crap


From: Michael Welsh Duggan
Subject: Re: smtp crap
Date: Sun, 09 Oct 2011 10:55:14 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Miles Bader <address@hidden> writes:

> Michael Welsh Duggan <address@hidden> writes:
>>> Why does emacs _keep_ asking me if I want to "Set up Emacs for sending
>>> SMTP mail"?!
>>
>> I recently solved this problem for myself.  I was seeing the same
>> behavior.  The problem was this: sending mail called the function stored
>> in message-send-mail-function.  This variable is initialized in
>> message.el from send-mail-function, which defaults to
>> sendmail-query-once.  Once I answered "n" to the query, it changed
>> send-mail-function for sendmail-send-it via customize.  Unfortunately, I
>> use a separate custom file by setting custom-file in my .emacs.el.  At the
>> end of my .emacs.el, I load the file with (load custom-file).
>
> Yes, I also use a separate ".custom" file, so that would appear to be
> the issue...
>
>> I fixed this by loading my custom file before requiring message.el.
>> Your problem may be different, but if not, this experience of mine
>> might help.
>
> It shouldn't be necessary to do that, though.

I agree.  I think that rather than having message-send-mail-function
take the value of send-mail-function as a default, it should instead
default to a new function which calls send-mail-function.

-- 
Michael Welsh Duggan
(address@hidden)



reply via email to

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