-
JDK 17
- If choosing another version of JDK specify in pom.xml file.
-
Gmail account - Preferably use another account.
-
Also give low security software access to account
-
Server to deploy app on localhost
- Here Tomcat server is used with port 2002.
-
Maven dependencies are injected directly to avoid tight coupling in codes.
-
Used some Bootstrap templates.
- Open project in IntelliJ Idea
- Give Password of your account in password.txt file.
- Setup Server for web app deployment.
- Give path of password.txt in EmailUtility class at line no.37 -> EmailUtility.java
Path fileName = Path.of(" ");
- Also add email at given filed in EmailUtility class at line no.39 -> EmailUtility.java
String sender_Email = "";
- Webapp:
- Mail received: