Today, I’m going to show you how to send email from android app using java mail API. Watch to learn how it work and don’t forget to turn on your notifications!
First you need to create app password for send email from app.Follow the instructions.
Create & use App Passwords
Go to your Google Account.
On the left navigation panel, choose Security.
On the "Signing in to Google" panel, choose App Passwords. If you don’t see this option:
2-Step Verification is not set up for your account.
2-Step Verification is set up for security keys only.
Your account is through work, school, or other organization.
You’ve turned on Advanced Protection for your account.
At the bottom, choose Select app and choose the app you’re using.
Choose Select device and choose the device you’re using.
Choose Generate.
Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device.
Choose Done.
source code on gitHub :
https://github.com/UsamaElgendy/SendE...
download lib :
https://code.google.com/archive/p/jav...
Auf dieser Seite können Sie das Online-Video Send email automatically by java Mail API android without intent - on background mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Runtime Code 02 Mai 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 18,851 Mal angesehen und es wurde von 235 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!