Tags » Mattes

Google App Engine mail.Send returns "TypeError: unhashable instance" in python2.7/smtplib.py

I am trying to locally send mail via Google App Engine Development Server:

dev_appserver.py --show_mail_body true --smtp_host=xxx --smtp_port=25 --smtp_user=xxx --smtp_password=xxx app.yaml


if err := mail.Send(c, &mail.Message{
    Sender:  "xxx@xxx.com",
    To:       []string{"xxx@xxx.com"},
    Subject:  "Test",
    Body:     "Text Body",
    HTMLBody: "HTML Body",
}); err != nil {
    c.Errorf("%v", err)
}
… 55 more words
Recent Questions - Stack Overflow

Can I use Goroutines in Google App Engine?

Can I use Goroutines in Google App Engine?

The following example seems to work, but can I use it? My goal is to do some very light background processing (whereas an actual task queue job feels too heavy) and I want to return the result to the client immediately. 29 more words

Recent Questions - Stack Overflow

Get 'em printed.

I’ve just finished framing some prints that are to go up in a new gallery to open locally soon.

I don’t print my own, I have mooted it but at the moment my time is taken up with taking pictures and processing them. 135 more words

Mumblings

Patrick Lichty

Other than a handful of iPhone games and a period of time when I would design and dictate the lives of my Sims, virtual worlds are completely new to me. 168 more words

Art 309