Spring MVC Email API Integration Process -
Write bean dependencies in .xml file and include his dependent jar file in work repository.
<!-- Spring Email Sender Bean Configuration -->
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="mail.gmail.com" />
<property name="port" value="587" />
<property name="username" value="email@gmail.com" />
<property name="password" value="password" />
Write bean dependencies in .xml file and include his dependent jar file in work repository.
<!-- Spring Email Sender Bean Configuration -->
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="mail.gmail.com" />
<property name="port" value="587" />
<property name="username" value="email@gmail.com" />
<property name="password" value="password" />