Thanks for the feedback, Ksenia! I'll reply to each item in turn:
I was actually quite curious why there wasn't even simple e-mail sending in TurboGears. I think my package would be too much overkill for the average application, though. It's nice, but the memory and processor requirements of multithreading isn't what everyone will be looking for.
I successfully sent 100+ messages in a few seconds. If you are sending larger batches, reducing the mail.interval to 5, setting mail.threads and mail.jobs to the maximum your SMTP server will support, and increasing the mail.timeout to a few minutes will help send a lot more, a lot faster. Note that most SMTP servers do not actually complain when a single connection is sending too much mail - mine accepts the message and immediately deletes it, accepting a maximum of 10 messages.
I agree, it's a good option. The syntax will likely follow kid's configuration directives for assume-encoding and encoding.
The main idea behind the TurboMail library was zero external dependancies, although that library does look awfully nice. ;) I'll investigate optional integration of it in the next (1.1) version.
Hmm... I'll have to investigate the use of Header and Message classes instead of using MIMEMultipart directly.
You can, in theory, embed multiple attachments with the same name. It's not a good idea, but you can do it.
There are four scenarios: Plain text only. Plain text w/ attachments. Plain and rich text. Plain and rich text w/ attachments. I'll have to make the generator a little more friendly in this respect, then. ;^)
It'd be even easier than that with a simple regular _expression_ that removes brackets and everything between them, in a similar style to how KID templates are rendered in plain text. (Note that the TemplateMessage class does automatically provide the plain text alternative in this way.) Again, thanks for the input! 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 -~----------~----~----~----~------~----~------~--~--- |
- [TurboGears] Re: TurboMail 1.0 released! Matthew Bevan
- [TurboGears] Re: TurboMail 1.0 released! samuraisam
- [TurboGears] Re: TurboMail 1.0 released! Matthew Bevan
- [TurboGears] Re: TurboMail 1.0 released! Bob Ippolito
- [TurboGears] Re: TurboMail 1.0 released! Matthew Bevan
- [TurboGears] Re: TurboMail 1.0 released! Krys

