-
Apr 19th, 2012, 12:35 AM
#1
Spring 3.0 with email communication integration
Hi,
Can any one please provide the brief integration code of email mechanism to integrate with Spring 3.0,
And what are the Spring beans to help to communicate with mailing system..
Thanks in advance
-
Apr 19th, 2012, 07:37 AM
#2
Try this bean -
<bean id="mailSender" class ="org.springframework.mail.javamail.JavaMailSenderIm pl" >
<property name="host" value="smtp.gmail.com" />
<property name="port" value="587" />
<property name="username" value="userName" />
<property name="password" value="password" />
<property name="javaMailProperties">
<props>
<prop key="mail.smtp.starttls.enable">true</prop>
</props>
</property>
</bean>
-
Apr 20th, 2012, 12:05 AM
#3
Thanks for giving this information,I am new to email mechanism in spring ,Could you please provide the brief explanation.
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules