From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: sending HTML e-mail Date: Sun, 12 Jan 2014 09:42:39 -0700 Message-ID: <87mwj1nocg.fsf@gmail.com> References: <87vbxpsxd2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2O9Q-0008VB-Vd for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 11:44:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2O9M-00084j-Lr for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 11:44:40 -0500 Received: from mail-pb0-x22a.google.com ([2607:f8b0:400e:c01::22a]:62550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2O9M-00084b-72 for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 11:44:36 -0500 Received: by mail-pb0-f42.google.com with SMTP id uo5so6433217pbc.1 for ; Sun, 12 Jan 2014 08:44:35 -0800 (PST) In-Reply-To: (Peter Salazar's message of "Sun, 12 Jan 2014 01:49:00 -0500") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Salazar Cc: org-mode Peter Salazar writes: > Yes, that works! But now I'm getting a different error: > > Debugger entered--Lisp error: (file-error "Opening input file" "No such > file or directory" "/Users/peter/Documents/ > http://img2u.info/ckgni/i/g9c7948fd.jpg") > > i.e. it seems to be prepending my default directory path to external image > URLs. > Org-mime uses mml or semi in `org-mime-file' to attach files. I don't believe that they support attaching external files. It may be possible to update the regexp in `org-mime-replace-images' to *not* match urls that look to be remote. Best, > > > > > On Sat, Jan 11, 2014 at 10:16 PM, Eric Schulte wrote: > >> Peter Salazar writes: >> >> > What's the state of the art in sending lightly formatting e-mail in >> > HTML >> > format? Is org-mime still the best way? >> > >> > This doesn't seem to be working for me. I'm doing this: >> > >> > (setq load-path (cons "~/org/contrib" load-path)) >> > (setq load-path (cons "~/org/contrib/lisp" load-path)) >> > >> > and this: >> > >> > (require 'org-mime) >> > >> > but when I call org-mime-subtree, I get this: >> > >> > Symbol's function is void: org-export-string >> > >> > (For reference: OSX 10.9.1 / Aquamacs 2.5 / Emacs 23.4.1 / org-mode >> > 8.2.4 >> >> You must have an old version of Org-mime loaded. The current version in >> the Org-mode git repo (available at [1]) does not call the >> org-export-string function. >> >> Best, >> >> Footnotes: >> [1] >> http://orgmode.org/w/?p=org-mode.git;a=blob;f=contrib/lisp/org-mime.el;h=b0007ac8af3ba17cd5cce84ff34ea59f5c32526f;hb=HEAD >> >> -- >> Eric Schulte >> https://cs.unm.edu/~eschulte >> PGP: 0x614CA05D >> -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D