Multitenant apps and sending e-mail. Do we need to hire another provider?

55 views
Skip to first unread message

Ronoaldo José de Lana Pereira

unread,
Nov 24, 2011, 8:26:33 PM11/24/11
to google-a...@googlegroups.com
Dear AppEngine Team,

We are very happy with AppEngine and we still are using M/S. We can't wait until we port our app to HRD!

One big problem for our current busines model is that we have some kind of a multi-tenant service, and our clients need to send the app notification e-mails from an account in the client domain (i.e. no-r...@example.com). Sadly, to do that using AppEngine mail service we have to add no-r...@example.com at least as an app viewer, and this exposes to whole datastore to our costumers!

Is there any way to whitelist some e-mails (with proper confirmation) to be authorized senders of our app? Or do we need to build a third-party Mail api that uses external servers to be able to send e-mails with any from/reply-to addresses?

Any tips on how to have this in a doable, cost-efective and pain-less way would be very nice :)

Best regards,

-Ronoaldo

Joshua Smith

unread,
Nov 25, 2011, 8:50:55 AM11/25/11
to google-a...@googlegroups.com
How about you create a @gmail.com account for each tenant, and use email forwarding/redirection to make it appear to come from the client's account?

--
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/-/v62CEFL_33oJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Timofey Koolin

unread,
Nov 25, 2011, 10:45:24 AM11/25/11
to google-a...@googlegroups.com
http://code.google.com/intl/en/appengine/docs/python/mail/sendingmail.html

application can't send email from eny gmail email, only from current
user. For example - it can't send email by cron or from task.

2011/11/25 Joshua Smith <Joshua...@charter.net>:

--
Blog: www.rekby.ru

Jeff Schnitzer

unread,
Nov 25, 2011, 10:56:11 AM11/25/11
to google-a...@googlegroups.com
The short answer: Use one of the many third-party email solution providers for this, such as SES.

The long answer:  I hope you realize this means all your clients must set up SPF records on their domains if you want to have any hope of delivering email on their behalf.  If you have nontechnical clients, this is simply not going to work.

Jeff

2011/11/24 Ronoaldo José de Lana Pereira <rper...@beneficiofacil.com.br>

--
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/-/v62CEFL_33oJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.



--
I am the 20%

Joshua Smith

unread,
Nov 25, 2011, 11:42:10 AM11/25/11
to google-a...@googlegroups.com
It can if you invite those gmail addresses to be developers.

Ronoaldo José de Lana Pereira

unread,
Nov 25, 2011, 12:24:22 PM11/25/11
to google-a...@googlegroups.com
I don't see this working for, something like, 5k e-mails / day ... But thanks for you suggestion.

Ronoaldo José de Lana Pereira

unread,
Nov 25, 2011, 12:32:44 PM11/25/11
to google-a...@googlegroups.com
I was afraid that this was the only viable solution. Thanks for the suggestion Jeff, I'll start searching the SES. Any other suggestion provider that would be a viable solution for sending e-mail notification of the application?

Best Regards,

-Ronoaldo
Reply all
Reply to author
Forward
0 new messages