Android Question Sending emails automatically without sacrificing security

toby

Well-Known Member
Licensed User
Longtime User
I want my app to send out emails using my own gmail account, not user's, without user intervention. The closest thing I can get is smtp mail using Net library. But my gmail account 's "allow access to less secure apps" option has to be enabled. My b4a app is treated as one of such apps. which I don't feel comfortable. See attached screen shot .

Any suggestions? please.
 

Attachments

  • GmailLessSecure.jpg
    GmailLessSecure.jpg
    348.2 KB · Views: 294
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
But my gmail account 's "allow access to less secure apps" option has to be enabled.
This means that SMTP is enabled. I don't think that it is a big issue. The fact that you include your gmail username and password inside the app is more problematic.
If your app is used by many users then Google might block your account.
 
Upvote 0
Top