B4J Question SMTP.Send using Gmail account (JNET Library)

Art

Member
Licensed User
Longtime User
Is it possible to code a java desktop application with B4J and JNET library that is able to send a simple e-mail message using a Gmail account without having to configure the Gmail account to allow less secure applications to access it? If yes, how do you do that? Using my code or the example of the library I only can send e-mails lowering the login security of the Gmail account and that is not an option for what I need.
Thank you.
 

DonManfred

Expert
Licensed User
Longtime User
  • Like
Reactions: Art
Upvote 0

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
DonManfred is right.

But it is actually possible to do it with b4j and Java without the JNet library. Its not easy but if you have too check the gmail api in google APIs.
 
  • Like
Reactions: Art
Upvote 0
Top