From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: html-email in org-mode Date: Sun, 06 Nov 2016 21:55:36 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3a62-00005F-Vh for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 21:55:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3a5z-0004qA-2Y for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 21:55:43 -0500 Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]:36578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3a5y-0004pi-TV for emacs-orgmode@gnu.org; Sun, 06 Nov 2016 21:55:38 -0500 Received: by mail-qt0-x235.google.com with SMTP id w33so79691829qtc.3 for ; Sun, 06 Nov 2016 18:55:38 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Matt Price Cc: Alan Schmitt , "Emacs-orgmode@gnu.org" I can not reproduce your error. I feel like when I saw that error it was from calling a send command while in org-mode, and not in message-mode. Matt Price writes: > John, I'm moving this over to this thread because I think my issues with > htmlize-and-send might not be because of any errors in my setup. > > When I use John's htmlize-and-send, or any similar function, to attempt to > send an html email from org-mode, I get an error from message-send: > "Message already sent via mail; resend?" Attmepting to resend fails > silently, and the message is neither sent nor saved to archives. > Interestingly, the first time I try this in a new emacs session, I get no > error message ( though the message doesn't actually get sent). This makes > me wonder if there's something wrong with the way > mu4e/message/htmlize-and-send is keeping track of messages. > > I've attached the minimal mail-test.el that I use to start emacs; I'm using > a pretty recent emacs-git with the latest org-mode git, on Arch Linux, with > offlineimap and nullmailer (which has a sendmail clone). If anyone out > there has a moment to look at my config and tell me if they see anything > wrong... I'd aprreciate it. Th > anks, > > Matt -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu