emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] using orgmode to send html mail?


From: David Maus
Subject: Re: [Orgmode] using orgmode to send html mail?
Date: Wed, 24 Mar 2010 20:12:52 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/24.0.50 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Eric Schulte wrote:
>Thanks Dan,

>I'm happy to hear I'm not the only person who's enjoying playing with
>this :).

>Aside from changing the mime-delimeters for VM and wanderlust, it seems
>to me that the only remaining step between the current functionality and
>a seamless use of org-mode for email composition, is the resolution of
>images as email attachments.  That would allow emails with embedded
>latex (which I personally would find very compelling), as well as
>embedded ditaa diagrams and images.  If anyone knows more about mime,
>I'd be interested to hear suggestions, but I may try a first pass using
>`replace-regexp' to replace all <img> links with inline mime image
>attachments.

Taking a look into the MIME specs (RFC2045ff) regarding this issue is
on my list.  My biggest concern with utilizing more MIME capabilities
is, that you have little control over what the recipient's MUA will do.

Don't know about VM, but with regards to WL I'd imagine something
like:

 - first represent the MIME strukture in a list

 - then call translating functions that insert the appropriate
   delimeters

>I've just made a couple of small changes, and pushed this file up to a
>git repo at http://github.com/eschulte/org-html-mail, or for raw elisp
>http://github.com/eschulte/org-html-mail/raw/master/org-mml-htmlize.el

Just out of curiosity: Why do you write to a temp file and not just
insert the body in a temporary buffer, turn on org-mode and use
org-export-region-as-html (point-min) (point-max) nil t 'string)?

 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpxeSwUSZBHQ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]