https://blog.conholdate.com/total/how-to-write-code-for-sending-emails-in-java/
How to Write Code for Sending Emails in Java