=== Top of the Swiki === Attachments ===
Celeste MIME handling
MIME handling in Celeste is a hack, actually, a cross of hacks.
MIMEDocument, MailMessage and MIMEPart are three object that hold MIME content in Celeste with a lot of overlap in function, none being complete.
MIMEDocument is actually used in contexts other than Celeste, such as Scamper.
Common MIME actions (adding an attachment to a part, getting tha value of a parameter, decyphering what sort of info is held inside this MIME compliant string) are handled by the gui code of clients such as CelesteComposition (when I remember I commited this sin, I feel like crying... well almost).
Urgently needed - a generic, smart MIME object that can work bidirectionally. This means that it can be either
- text-based, and just a parsed representation of it, or
- value-based, and able to create a legal and legible representation of its values.