[MERGE] EmailMessage, the façade version (v1)

Adeodato Simó dato at net.com.org.es
Wed Jul 18 16:59:03 BST 2007


Hello.

This is the new proposed EmailMessage class, now implemented as advised
by Martin as a façade object around email.Message and email.MIMEMultipart.

I agree that the design is nicer, but we still have ugly methods (as_string),
and I hope that loosing the Message API will not be much of a problem. I
already had to modify a bit one SMTPConnection method, and have had to
provide a bare dict-like interface, which previously came for free. :-)

Anyway, let's see if this satisfies everybody and can get merged after
all.

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
A black cat crossing your path signifies that the animal is going somewhere.
                -- Groucho Marx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr.email_message.diff
Type: text/x-diff
Size: 25835 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070718/7f200d01/attachment-0001.bin 


More information about the bazaar mailing list