20
edits
m (→steelIListener) |
|||
| Line 578: | Line 578: | ||
We might want to steal methods like | We might want to steal methods like | ||
'''walk()''' Returns an iterator for processing each part of a multipart mime message | '''walk()''' Returns an iterator for processing each part of a multipart mime message | ||
'''getPayLoad(part, decode)''' To access an individual part of a message and automatically decode it from mime to text. | '''getPayLoad(part, decode)''' To access an individual part of a message and automatically decode it from mime to text. | ||
'''attach(payload)''' adding additional parts to a message. | |||
* Eyalroz: I also think there's a need for a message to be manipulable as a hierarchy of MIME parts. However: | |||
#Iterating is not enough. One needs to be able to add and remove parts in the tree. | |||
#The backend has terribly poor support for this. Just look at the state of libmime. (Also have a look at my aborted attempt in [https://bugzilla.mozilla.org/show_bug.cgi?id=248846 bug 248846]) | |||
*jcranmer: Rather long list; sorry if it seems like I'm being a tad specific here, but I'm thinking more from an implementor's point of view... | *jcranmer: Rather long list; sorry if it seems like I'm being a tad specific here, but I'm thinking more from an implementor's point of view... | ||
edits