emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: David Maus
Subject: Re: [Orgmode] Re: using orgmode to send html mail?
Date: Fri, 02 Apr 2010 19:25:12 +0200
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)

Dan Davison wrote:

>[...]

>> It just makes no sense to create such a nested message: If the
>> recipient requires html markup than send him html markup.  Why such a
>> nested message?

>Hi David,

>What about if I'm sending an email containing some org-mode elements
>like tables, and also some code. I want the reader to he able to see the
>plain text structure of the tables, so that they know exactly what's
>going on. But for the code, I would like those using webmail clients to
>see nicely formatted, fontified code.

>Is that a potential justification?

I cannot answer this question because the whole idea of sending just
some parts of the entire document is based on a horrible mistake:

> But for the code, I would like those using webmail clients to see
> nicely formatted, fontified code.

I understand this idea, but: MIME is about message transport, not
message display.  You want the message displayed in a certain way but

  You have little control over how the content is displayed on the
  recipients side.

To give an example: I've sent one of the "complex" MIME messages to a
mail account at GMX, a quite popular german mail hoster and opened it
in the web interface.

The message was constructed like this (using mml like markup):

< #part type="text/plain">
First MIME entity
< #multipart type="alternative">
< #part type="text/plain">
  Second in plain text
< #part type="text/html">
  <b>Second</b> in HTML
< /#multipart>
< #part type="text/plain">
  Third MIME entity.
< #part type="text/plain">
  Fourth in plain text
< #part type="text/html">
  <b>Fourth</b> in HTML
< /#multipart>

  - when I first opened the message I had to toggle the NoScript
    extension to allow iframes:

    http://s10.directupload.net/file/u/15851/wydtca3n_png.htm

  - after that the html was shown, but... totally messed up

    http://s10.directupload.net/file/u/15851/j43xqkjt_png.htm

  - and finally I chose "plain text" display

    http://s1.directupload.net/file/u/15851/plz64u4a_png.htm

    And the second and fourth part was silently dropped.

Sending a simple message with a plain text body followed by it's html
representation was displayed fine:

http://s10.directupload.net/file/u/15851/ojdn8pdl_png.htm

See what I mean?

 -- David

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

Attachment: pgpuAYEX2SaDS.pgp
Description: PGP signature


reply via email to

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