The original idea is from
https://medium.com/@samyakmoon855/send-email-notification-using-spring-boot-part-1-synchronous-approach-311d80620a8e
To enhance security, generate an App Password for application-specific access.
Simply go to https://myaccount.google.com/apppasswords
or here are the steps to generate an App Password
- Sign In to Your Google Account: Log in to the Google account by which you want to send email.
- Go to “Manage your Google account.”
- In the search bar, search for app passwords.
- Type an App name of your choice and click on create.
- A popup window will appear saying “Generated app password.” Copy it and paste it in place of {SENDER_MAIL_PASSWORD}.
The original idea is from https://rkumar0206mnirks.medium.com/send-email-using-javamailsender-b61480311102
The original idea is from
https://blog.devops.dev/sending-email-in-spring-boot-6c976a12ecf7
The original idea is from
https://medium.com/@ujwala.magdum/forgot-password-flow-in-user-login-with-jwt-token-79a0c1538e30