Hi Matthew!

Thank you for releasing the application! The standard mail library
would be a great addition to TG.

1. Question: with one SMTP connection per thread, can it handle large
email volumes?

2. Since I was struggling with mail coding lately, few notes that may
be handy :)

- there should be charset parameter available for specifying different
text encoding. (as a sidenote,  when it's utf-8, python email library
will *always* transfer-encode it as base64. Very annoying)

- python email library doesnt care about line length. When using
transfer-encoding other than base64, TurboMail should  check that the
line length doesnt exceed 998 characters (RFC 2822). (Some mail
servers just chop it off :D)  Format flowed library is handy for this
(and of course for format-flowed part :) :
http://www.zopatista.com/projects/formatflowed

- mail headers doesnt have to be ascii-only, the reason to use Header module:
http://docs.python.org/lib/module-email.header.html

- I think "embed" method of Message class should also check if the
file already embedded and/or if the name is already in use

- the outer part of TurboMail message is always "related". I believe
it should be "alternative" when plain text alternative is available:
0. multipart / alternative
0.1. text / plain
0.2. multipart / related
0.2.1. text / html
0.2.2. attachment 1
0.2.3. attachment 2

- I think TurboMail should take care of creating plain text
alternative for html messages. There are several tools that can do it:
http://userpage.fu-berlin.de/~mbayer/tools/html2text.html
http://www.aaronsw.com/2002/html2text/
http://www.zope.org/Members/chrisw/StripOGram


Just my 2 eurocents :)

--Ksenia

On 10/4/06, Matthew Bevan <[EMAIL PROTECTED]> wrote:
>
> A updated 1.0.1 version is now available which includes the following:
>
>   * Minor updates to remove unneeded arguments.
>   * Complete source-level epydoc documentation.
>
> Documentation is viewable in the source code and online at the
> following URL:
>
>         http://www.topfloor.ca/turbomail/documentation/reference/
>
> To update an existing TurboMail installation, run the following:
>
>         easy_install -U TurboMail
>
> If you have not yet installed TurboMail, run the above without the -U
> option; the latest version will automatically be used.
>
> Have a great day,
> Matthew Bevan, Systems Administrator
> Top Floor Computer Systems Ltd.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to