Generic Configuration for Triggering Email Notification to the User by Using Spring MVC.
You can then access Url here: http://localhost:8080/Spring-Mvc-Generic-Notification
Our issue tracker is available here: https://github.com/Sudarshan-Gowda/Spring-Mvc-Generic-Notification/issues
The following items should be installed in your system:
- STS - 3.0 Plus
- Server - Apache tomcat
- Data Base - MySql 5
- Download this Project and do maven import.
git clone https://github.com/Sudarshan-Gowda/Spring-Mvc-Generic-Notification
- To Import the Praject Using STS or Eclipse
File -> Import -> Maven -> Existing Maven project
Spring Boot Configuration | Class or Java property files |
---|---|
The Service Class | Notification Service |
SQL Scripts File | scripts.sql |
-
Once the application is installed properly, Run the application by adding server or build and deploy to webapps directory in server
-
Once the application deployed successfully means hit the URL from your browser.
(http://localhost:8080/Spring-Mvc-Generic-Notification).
- Enter the details Name and valid user email id and hit the submit button to trigger the email as shown in Image
-
Create a schema called NOTIFICATION in MYSQL Database and execute the scripts which is under the repository location click here.
-
Since this application is developed by considering to support any of the configuration like gmail, outlook or Zoho etc. The Configuration is maintained under the table called T_NTFN_DEVICE and modify the configuration as per your requirement and your account credentials and make sure the less secure app is enabled in case google account and double security disable for Zoho respectively.
-
Then to test the application go to the landing page and and page will prompt with User name and Email to enter. If the entered email is valid means Email notification will be triggered to the user.
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.
For pull requests, editor preferences are available in the editor config for easy use in common text editors.