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 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.... dmjena@jabber.org Email..... dmaus@ictsoc.de