[MERGE] An EmailMessage class for bzrlib (v0)

Adeodato Simó dato at net.com.org.es
Sat Jun 23 03:59:46 BST 2007


Hello.

Here is my proposed EmailMessage class for bzrlib. I think I addressed all
the comments raised in the [RFC] thread. Tests are included this time.

A couple things worth mentioning:

  * Aaron, I agree to adding the EmailMessage.send() method you
    proposed; but since it would need SMTPConnection, which is not yet
    merged, I'm delaying its inclusion until then (*hint*).

  * I'm setting the User-Agent of created mails to 'Bazaar ($VERSION)';
    the original SMTPConnection set it to 'bzr/$VERSION'. I asked on IRC
    about which one people preferred, and John suggested to take it to
    the list.

Reviews and comments welcome.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
A lie can go round the world before the truth has got its boots on.
                -- Terry Pratchett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr.email_message.diff
Type: text/x-diff
Size: 29403 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070623/07ca355d/attachment-0001.bin 


More information about the bazaar mailing list