nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]

2010-12-07 15:58:30
markus schnalke wrote:
[2010-12-07 12:33] Jon Steinhart <jon(_at_)fourwinds(_dot_)com>
Examples for what gets generated from mail *body text*:

Thanks for doing this and saving me the effort ;-)

The old code generates ...

... for ASCII:

 Content-Type: text/plain; name="sendKi9x7j"; x-unix-mode="0644";
         charset="us-ascii"
 Content-ID: <4962(_dot_)1289589671(_dot_)1(_at_)argentina(_dot_)foo>
 Content-Description:   ASCII text 

 foo

... for non-ASCII (only if at least one attachment is present):

 Content-Type: application/octet-stream; name="sendbRaV8T";
         x-unix-mode="0644"
 Content-ID: <5209(_dot_)1289589999(_dot_)1(_at_)argentina(_dot_)foo>
 Content-Description:   UTF-8 Unicode text 
 Content-Transfer-Encoding: base64

 d2l0aCBKb24....

These are definitely just wrong -- we shouldn't be specifying
name and x-unix-mode for the body text (and base64ing when
we could q-p is a bit unfriendly).

-- PMM

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>