From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: using orgmode to send html mail? Date: Fri, 02 Apr 2010 15:10:04 -0600 Message-ID: <87eiix1ryk.fsf@gmail.com> References: <878w9krtyn.wl%dmaus@ictsoc.de> <871vfa24qo.fsf@gmail.com> <87pr2uww2d.fsf@columbia.edu> <87tys5zrwm.fsf@gmail.com> <87sk7pzk02.fsf@stats.ox.ac.uk> <87tys5r3q6.fsf@gmail.com> <87ocid7cuj.wl%dmaus@ictsoc.de> <874ok5qxp9.fsf@gmail.com> <87vdckksnj.wl%dmaus@ictsoc.de> <874ok33zje.fsf@gmail.com> <87zl1vf4ru.wl%dmaus@ictsoc.de> <874ok311t9.fsf@gmail.com> <87y6h8tegw.wl%dmaus@ictsoc.de> <87pr2iwefu.wl%dmaus@ictsoc.de> <87tyrtrjfq.fsf@stats.ox.ac.uk> <87iq897onb.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxoG2-0004GQ-GR for emacs-orgmode@gnu.org; Fri, 02 Apr 2010 17:18:26 -0400 Received: from [140.186.70.92] (port=38049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxoFy-00042n-6g for emacs-orgmode@gnu.org; Fri, 02 Apr 2010 17:18:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nxo89-00018H-69 for emacs-orgmode@gnu.org; Fri, 02 Apr 2010 17:10:19 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:54482) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nxo88-00018B-Sm for emacs-orgmode@gnu.org; Fri, 02 Apr 2010 17:10:17 -0400 Received: by pwi2 with SMTP id 2so2416785pwi.0 for ; Fri, 02 Apr 2010 14:10:15 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: Dan Davison , Vagn Johansen , emacs-orgmode@gnu.org Hi, Given the current setup, sending messages with multiple multipart sections is simply one optional way of using the `org-mime-htmlize' function. By default when `org-mime-htmlize' is called without an active region the entire message body is encoded as a single MIME multipart/alternative -- the simpler approach you advocate below. That said, I'm not sure what you are arguing for. Are you arguing that the option to send multiple multipart/alternative sections be removed? This is an option which could only be used intentionally, hopefully in full knowledge the potential risks and drawbacks. In my opinion it is bad design to go out of your way to remove choice and functionality from a program. Additionally I don't like the idea of limiting the functionality of a tool to the level of the lowest common denominator of it's peers. That is not how progress is made. Thanks -- Eric David Maus writes: > 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"> > Second in HTML > < /#multipart> > < #part type="text/plain"> > Third MIME entity. > < #part type="text/plain"> > Fourth in plain text > < #part type="text/html"> > Fourth 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.... dmjena@jabber.org > Email..... dmaus@ictsoc.de > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode