From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78038 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: making sendmail call to msmtp asynchronous? Date: Mon, 21 Mar 2011 14:19:20 +0800 Message-ID: <87k4ft9es7.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300688467 16116 80.91.229.12 (21 Mar 2011 06:21:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2011 06:21:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26350@lists.math.uh.edu Mon Mar 21 07:21:02 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1YU9-0001oW-Lh for ding-account@gmane.org; Mon, 21 Mar 2011 07:21:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Q1YT3-0000F1-B4; Mon, 21 Mar 2011 01:19:53 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Q1YSz-0000Ej-T6 for ding@lists.math.uh.edu; Mon, 21 Mar 2011 01:19:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q1YSo-0001dF-Ol for ding@lists.math.uh.edu; Mon, 21 Mar 2011 01:19:49 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q1YSm-000339-I8 for ding@gnus.org; Mon, 21 Mar 2011 07:19:36 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q1YSm-0001JT-6N for ding@gnus.org; Mon, 21 Mar 2011 07:19:36 +0100 Original-Received: from 123.121.224.174 ([123.121.224.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Mar 2011 07:19:36 +0100 Original-Received: from eric by 123.121.224.174 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Mar 2011 07:19:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 11 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.121.224.174 User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:/LEVyrftYBacLH3rlJYq621k7co= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78038 Archived-At: I'm trying to make mail sending/receiving as non-blocking as possible. I was pleased with msmtp and having started using the sister program mpop to feed gnus mail. I read four different POP accounts and it was slow. Now I'm wondering how hard it would be to make the call to msmtp for outgoing mail asynchronous. Would it be possible just to dump the mail on msmtp, and have a callback that either pops up a buffer (for errors) or a message in the minibuffer (for success)? How difficult would that be? Thanks! Eric