Re: How to send emails using Mail Service

46 views
Skip to first unread message
Message has been deleted

Jim

unread,
May 10, 2015, 3:18:05 PM5/10/15
to google-a...@googlegroups.com
Once you get the mail api working, you can send message from 'ad...@mydomain.com' by first setting that account up as a 'developer' of your app (Administration/Permissions).  Adding an account as a Developer of your app initiates a confirmation email from GAE, so you'll need access to that account's email.



On Saturday, May 9, 2015 at 2:35:15 PM UTC-5, Jimin Park wrote:
I want to be able to send emails out from my GAE app.
My personal email is registered with the permission "Is Owner"
I am using this as the from email following the example on this page.
I tried sending the email with my application deployed to GAE.

I get an error message and getting the following exception
java.net.SocketException: Permission denied: Attempt to access a blocked recipient without permission.

I am just trying send a dummy email to test it out.

Also if I eventually get this working and I want to use some generic purpose email like ad...@mydomain.com, how do I achieve this?

Vinny P

unread,
May 11, 2015, 1:33:03 AM5/11/15
to google-a...@googlegroups.com
Is your personal email account a Gmail/Google Apps account? Is it also the same email registered as the Owner/Developer of the application?

If you replace the from address with the following string, does email start working for you (remove the brackets): string@[your-application-id-here].appspotmail.com ?
 
 
-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com
 
 
Reply all
Reply to author
Forward
0 new messages