[MlMt] Feature Request: Support for notes (like Apple Mail)

Benny Kjær Nielsen mailinglist at freron.com
Fri Jan 6 22:48:16 UTC 2012


On 6 Jan 2012, at 23:10, Mike Brasch wrote:

> Maybe with some "sugar" like displaying
>
> - foo
> - bar
>
> like a HTML list.

I just tried creating a note in Leopard Apple Mail and it supports 
bulleted lists (Format ▸ Lists ▸ Inserted Bulleted List). This note 
was placed in the Inbox. I'm guessing the same can be done on Lion, but 
I cannot test that right now. I also tried creating a note on my iPhone 
and that note appeared in a special Notes mailbox within my IMAP 
account.

Well, the main point of the above is that it is necessary to do some 
reengineering to support notes since it is not a documented format (as 
far as I know). Also, the notes are saved as HTML which is not supported 
by MailMate when editing although that part could perhaps be handled by 
some Markdown <-> HTML conversion.

The following is the raw version of the note created on the iPhone:

~~~
Subject: My first note...
 From: =?utf-8?Q?Benny_Kj=C3=A6r_Nielsen?= <... at freron.com>
X-Universally-Unique-Identifier: 0811AAB1-6B98-4236-A762-AC8CCDEAB7D4
Content-Type: text/html;
	charset=utf-8
X-Uniform-Type-Identifier: com.apple.mail-note
Message-Id: <F191E3E8-061F-4BE0-A5F4-B559B54DF973 at freron.com>
Date: Fri, 06 Jan 2012 23:19:33 +0100
X-Mail-Created-Date: Fri, 06 Jan 2012 23:19:33 +0100
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)

My first note...<div><br></div>
~~~	

It seems quite straightforward to create such a message, but it would 
have been nice if it had been `text/plain` instead of `text/html`. I 
tried manually creating a `text/plain` note and it did appear on my 
iPhone, but it was converted to `text/html` when I edited it.

I'll give it some more thought. Comments are welcome if anyone has some 
insight in how Apples notes work.

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20120106/87cbd8a4/attachment.html>


More information about the mailmate mailing list