* sending HTML e-mail
@ 2014-01-12 2:57 Peter Salazar
2014-01-12 3:16 ` Eric Schulte
0 siblings, 1 reply; 4+ messages in thread
From: Peter Salazar @ 2014-01-12 2:57 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 776 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sending HTML e-mail
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
0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2014-01-12 3:16 UTC (permalink / raw)
To: Peter Salazar; +Cc: org-mode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sending HTML e-mail
2014-01-12 3:16 ` Eric Schulte
@ 2014-01-12 6:49 ` Peter Salazar
2014-01-12 16:42 ` Eric Schulte
0 siblings, 1 reply; 4+ messages in thread
From: Peter Salazar @ 2014-01-12 6:49 UTC (permalink / raw)
To: Eric Schulte; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]
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.
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
>
[-- Attachment #2: Type: text/html, Size: 2424 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sending HTML e-mail
2014-01-12 6:49 ` Peter Salazar
@ 2014-01-12 16:42 ` Eric Schulte
0 siblings, 0 replies; 4+ messages in thread
From: Eric Schulte @ 2014-01-12 16:42 UTC (permalink / raw)
To: Peter Salazar; +Cc: org-mode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-12 16:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).