On Tue, Jun 17, 2014 at 5:12 AM, Aniss Serhane <[email protected]>
 wrote:

> I want to use class Transport java.mail
> But does not pass , I have this error : The Socket API will be enabled
> for this application once billing has been enabled in the admin console.
> my question is, if i enable the billing it will work or I'll have another
> problem ?
>


Yes, if you enable billing the application should work. App Engine
applications can't open sockets until billing is enabled.

But instead of requiring a user to input their email username and password
to authenticate, it's better from a security standpoint to simply use email
verification to verify the account (your application sends an email to the
user's given email address, the user has to click a unique URL within the
email to verify the account).

If you absolutely must have access to a user's Gmail acccount (from your
code sample, it looks like you're exclusively connecting to Gmail accounts)
you can use OAuth to safely get access to email accounts:
https://developers.google.com/gmail/oauth_overview


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to