Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Gmail and Django. I’d never considered using Gmail to send e-mail from applications, but it could be a useful way of avoiding having outbound e-mail falsely flagged as spam.

Tagged , , ,

4 comments

  1. Turned out this was an oft-requested feature. Apparently a bunch of people are using Gmail as their primary SMTP server. It was a bit painful to debug that addition -- Gmail requires TLS and there was some non-spec-compliance involved -- but it seems to have been worth it.

    Django's email system is bells-and-whistles city these days: attachments, multipart/alternative messages (Text + html), better content encoding, TLS, transparent Unicode support (on the branch) even in headers.

    Malcolm Tredinnick - 3rd July 2007 02:04 - #

  2. I got all excited about this until I read the GMail TOS, which states that the service is for personal use only.

    Pegasus sends something like 25K emails per month (weekly newsletter, event reminders, etc).

    We're paying through the nose for a good relay, and I still have to be careful with SPF and related.

    I want out of the email career path. :-/

    Jeremy Dunck - 3rd July 2007 07:59 - #

  3. Jeremy: Google Apps (https://www.google.com/a/) can be nice for people who want to use Gmail for a business.

    Nathan Ostgard - 3rd July 2007 22:11 - #

  4. http://www.djangosnippets.org/snippets/141/
    Also does the same thing.. but uses libgmail module.

    Perhaps still useful for those who do not work on the latest dev. version.

    Pradeep Gowda - 4th July 2007 11:59 - #

Comments are closed.
A django site