To send mail use the Mail API - that is the only supported way to do it.
In Production - on appspot - the Mail API sends emails via Googles infrastructure. But the development environment is emulating the real environment. It of course cant use Googles infrastructure, so instead you tell give it a SMTP server it can use directly. The SMTP interface is not exposed to the actual application (because it would be non functional online anyway) On Wed, Sep 19, 2012 at 2:07 PM, ruralgeek <zbhn...@gmail.com> wrote: > Hello ! I have some problems about sending email on GAE. > The book Programming Google App Engine tells that: > > To configure the Python development server to use an SMTP server to send > email, use the --smtp_host=... (with optional --smtp_port=...), > --smtp_user=..., and --smtp_password=... arguments: > > dev_appserver.py \ > --smtp_host=smtp.example.com \ > --smtp_user=exmail \ > --smtp_password="t3!!t43w0r!d" \ > appdir > > http://librairie.immateriel.fr/fr/read_book/9780596522728/ch11s02#book_page_last > > But I can't find that GAE supports using SMTP to send email. > API:https://developers.google.com/appengine/docs/python/mail/sendingmail > > > Now I want to send email from my own domain accounts (e.g. > u...@example.com),and I have a SMTP server(smtp.example.com). > How can I do it? > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/KqlMhXszWcMJ. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.