emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Peter Salazar <cycleofsong@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: sending HTML e-mail
Date: Sun, 12 Jan 2014 09:42:39 -0700	[thread overview]
Message-ID: <87mwj1nocg.fsf@gmail.com> (raw)
In-Reply-To: <CAE+_6TxOgXsKgfkowXQE70Xa=vr4q7o1LWCryYwPvuxV1hioRA@mail.gmail.com> (Peter Salazar's message of "Sun, 12 Jan 2014 01:49:00 -0500")

Peter Salazar <cycleofsong@gmail.com> 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 <schulte.eric@gmail.com>wrote:
>
>> Peter Salazar <cycleofsong@gmail.com> 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

      reply	other threads:[~2014-01-12 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-12  2:57 sending HTML e-mail Peter Salazar
2014-01-12  3:16 ` Eric Schulte
2014-01-12  6:49   ` Peter Salazar
2014-01-12 16:42     ` Eric Schulte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwj1nocg.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).