[Tmail-talk] TMail preamble usage

Mikel Lindsaar raasdnil at gmail.com
Fri Feb 29 09:04:02 EST 2008


On Fri, Feb 29, 2008 at 8:54 PM, charles <aquasync at gmail.com> wrote:
> Hi Tmail chaps :)

G'Day :)

> Is there a reason for this behaviour? I'm pretty sure rfc822 preamble is
> just that first chunk...

There reason for the behaviour is this bit of code is in lib/mail.rb:

   alias preamble  body
   alias preamble= body=

It would be good to change it to the RFC, and at a quick glance, it
would need a good test case or two written and then a re-work of how
"read_multipart( src )" on line 500 of lib/mail.rb.  Actually doesn't
look toooo hard to fix, would just take putting something in before
the first while loop to grab the preamble.

It would be great if you could take a shot at fixing it an putting a
patch on our ruby forge page, there is a contributing to TMail page on
the main tmail website.

Right now I am concentrating on documentation, I have done about 500 +
more lines of documentation and am trying to split out private methods
from public methods and simplify the interfact to TMail a bit...
getting there, but it is chewing up my TMail Time at a rapid rate :)

Let me know what you think.

Mikel


More information about the Tmail-talk mailing list