Actually, I was just able to "receive an email”.

Although being on Node.js, I followed part of the Python guide, which also 
uses app.yaml as a configuration file. See here. 
<https://cloud.google.com/appengine/docs/python/mail/receiving-mail-with-mail-api>
I had to add this to my app.yaml file:

inbound_services:
- mail

Then, as the guide says, you can receive mails to 
<anystring>@<app-id>.appspotmail.com .
Instead of configuring script handlers in app.yaml I just used express:

app.post(‘/_ah/mail/[email protected]’, function(req,res) {
    console.log(‘Got email’);
});

Have not checked how to parse the request and if the email body is 
delivered or not.
Of course there’s no Node.js client provided as for Python for example.

I won’t be using this since it is not documented and, in the end, not worth 
it as is.
So, to Google Developers: I think you should either remove mail delivery 
for node.js apps, or document this behavior.
Possibly document and provide a Mail API for node folks too! :-)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c4a75db4-a073-46dc-ae5c-4cd315442093%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to