Re: [google-appengine] Using SMTP on GAE

2012-09-21 Thread Peter McKenzie
FYI: the Sockets API lets you use SMTP (authenticated SMTP only).  If 
you're interested in trying it out, please sign up for the trusted tester 
program:
https://docs.google.com/a/google.com/spreadsheet/viewform?formkey=dF9QR3pnQ2pNa0dqalViSTZoenVkcHc6MQ

On Thursday, September 20, 2012 4:55:40 AM UTC+10, barryhunter wrote:



 On Wed, Sep 19, 2012 at 7:49 PM, Barry Hunter  wrote:

 To send mail use the Mail API - that is the only supported way to do it. 


 PErhaps should qualify that: The only way to do it running directly in 
 AppEngine. 

 Can use other third party services/servers, as long as they have HTTP 
 Interface/API (to be used by URLFetch API) or a number of other protocols 
 that AppEngine supports (email! and XMPP) . 

 So if you really need to send via SMTP, could find a server that has a 
 HTTP interface, which then dispatches off via SMTP


-- 
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/-/Hu0F0Kvwxf8J.
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.



Re: [google-appengine] Using SMTP on GAE

2012-09-20 Thread ruralgeek
Thank you for helping me to answer questions.
I found my problem. I have thought that development web server is on the 
server.Actually it is on the local.
Also,thank you for your suggestions.I will consider them.

在 2012年9月20日星期四UTC+8上午2时55分40秒,barryhunter写道:



 On Wed, Sep 19, 2012 at 7:49 PM, Barry Hunter  wrote:

 To send mail use the Mail API - that is the only supported way to do it. 


 PErhaps should qualify that: The only way to do it running directly in 
 AppEngine. 

 Can use other third party services/servers, as long as they have HTTP 
 Interface/API (to be used by URLFetch API) or a number of other protocols 
 that AppEngine supports (email! and XMPP) . 

 So if you really need to send via SMTP, could find a server that has a 
 HTTP interface, which then dispatches off via SMTP


-- 
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/-/kCsR4m3Uvo4J.
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.



Re: [google-appengine] Using SMTP on GAE

2012-09-20 Thread Vinny P
It should be noted that the best way is through an external service such as 
Sendgrid (  http://sendgrid.com/  ) or similar. Emails sent using the 
standard Mail API seem to have a high chance of being spam-filtered. Search 
the archives if you'd like to see specific examples.

-Vinny

On Wednesday, September 19, 2012 1:55:40 PM UTC-5, barryhunter wrote:



 On Wed, Sep 19, 2012 at 7:49 PM, Barry Hunter  wrote:

 To send mail use the Mail API - that is the only supported way to do it. 


 PErhaps should qualify that: The only way to do it running directly in 
 AppEngine. 

 Can use other third party services/servers, as long as they have HTTP 
 Interface/API (to be used by URLFetch API) or a number of other protocols 
 that AppEngine supports (email! and XMPP) . 

 So if you really need to send via SMTP, could find a server that has a 
 HTTP interface, which then dispatches off via SMTP


-- 
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/-/2RkcsmK4DNoJ.
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.



[google-appengine] Using SMTP on GAE

2012-09-19 Thread ruralgeek
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.



Re: [google-appengine] Using SMTP on GAE

2012-09-19 Thread Barry Hunter
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.



Re: [google-appengine] Using SMTP on GAE

2012-09-19 Thread Barry Hunter
On Wed, Sep 19, 2012 at 7:49 PM, Barry Hunter  wrote:

 To send mail use the Mail API - that is the only supported way to do it.


PErhaps should qualify that: The only way to do it running directly in
AppEngine.

Can use other third party services/servers, as long as they have HTTP
Interface/API (to be used by URLFetch API) or a number of other protocols
that AppEngine supports (email! and XMPP) .

So if you really need to send via SMTP, could find a server that has a HTTP
interface, which then dispatches off via SMTP

-- 
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.