Can Google App Engine use a third-party SMTP server?

The Google App Engine currently limits 2,000 emails per day (free) through their API.

I am trying to find the final answer if you can use a third-party system, if you need to send more. I know that they ban raw sockets, so I would suggest that there might be problems with this approach ... but, of course, I'm not the first to see it.

In the worst case scenario, I can create a simple external web service that can call my GAE ... but I would rather just be able to send directly through an SMTP server.

Thanks!

+6
google-app-engine cloud smtp
source share
3 answers

Nope.

You are right: you cannot make raw socket requests or any other direct outgoing requests other than the urlfetch API. To talk to an external SMTP server, you need to use the web service as a proxy server.

+4
source share

We use the Postmark mail outsourcing service using hutools. postmark API . Since communication is based on HTTP, it works like a charm in Google AppEngine. This may be an option for you, although it is also a payment service. We use it to get the sender attributes of GAEs arround.

+2
source share

I have successfully used third-party email service providers with the Google App Engine. I used SendGrid and MailGun using my HTTP API.

+1
source share

All Articles