send email on Google App Engine from custom domain

为君一笑 提交于 2019-12-07 03:05:29

You have two options:

  1. Register all emails that you want to use as administrators/developers but as you mentioned in your post you don't want to do that.

  2. Use SendGrid (or any other email services like Mandrill, Mailgun, etc.) which will give you a lot more features comparing to what GAE offers, including 25k free emails instead of GAE's 100.

According to the docs, the sender would need to be an administrator on the project (called "owner" in the new Developers Console). Another route would be to just use a separate email sending service like SendGrid or Postmark.

You can use the GMail API to send emails as users of your domain. Note that the emails need to be aliases, groups or users of your domain.

You shouldn't have any problem adding and verifying your domain, adding the necessary permissions to send emails. Then, every email address in your domain can be used. See here in the docs: https://developers.google.com/appengine/docs/java/mail/#Java_Sending_mail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!