MailMessage
Lex Spoon
lex at cc.gatech.edu
Mon May 1 11:04:26 UTC 2000
Sorry to be spamming people if this is boring, but I wanted to point out
that this last changeset makes MailMessage a very nice general-purpose
tool--it's not just for Celeste anymore.
1. You can do "MailMessage from: text" to parse anything in
mail-message format, including HTTP responses or NNTP responses. This
includes removal of content-transfer-encoding such as base64.
2. When you query a header field, you now get a MIMEHeader instance,
which includes the paramaters in addition to the core value.
3. You can generate a view of such a message with "msg
bodyTextFormatted" or, if you want the headers, too, "msg
formattedText". You can open a viewer on this with "msg viewBody".
-Lex
More information about the Squeak-dev
mailing list
|