James Britt wrote: > Austin Ziegler wrote: > >> On further consideration, I think -- I haven't played with it >> seriously for porting, yet -- that your library implements *part* of >> MIME::Tools from Perl -- you may want to look at that to get an idea, >> but I do think that my original idea holds merit: MIME is the right >> namespace for this. > > > Interesting. The code currently returns the complete E-mail object: > headers followed by the multipart content. Maybe I should split this > out, so that there is a class that returns only the MIME part; another > "wrapper" class can combine this with the headers to make the complete > text for mailing. This would be a good idea. You should really look at how it is done in MIME:Tools; I already thought about porting it to Ruby, because it is a very powerful Library that can also do message parsing and encoding.