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

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

Thread for smtpmail-send-it (was: Non file buffers and default-directory


From: Manuel Giraud
Subject: Thread for smtpmail-send-it (was: Non file buffers and default-directory)
Date: Sun, 23 Apr 2023 16:48:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Manuel Giraud <manuel@ledu-giraud.fr>
>> Cc: help-gnu-emacs@gnu.org
>> Date: Sun, 23 Apr 2023 13:46:32 +0200
>> 
>> FTR, I've tried the following:
>> --8<---------------cut here---------------start------------->8---
>> (defun my-send-mail-function ()
>>   (make-thread #'smtpmail-send-it))
>> 
>> (setq send-mail-function 'my-send-mail-function)
>> --8<---------------cut here---------------end--------------->8---
>> 
>> This seems to work but I guess that you were thinking of something else.
>
> "Work" in what sense?  Were you able to do something in Emacs while
> the mail was being sent?  What happens if the send fails for some
> reason?  And how fast is it sent in your case, so that the "work" part
> could be evaluated in real-life conditions, when sending takes some
> time?  For example, what happens if you try to send a message with a
> very large attachment?

"Work" in the sense that the mail arrived in my mailbox.  But this goes
too fast to evaluate anything else.  Maybe I could try with a fake and
slow SMTP server.
-- 
Manuel Giraud



reply via email to

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