Announcement Announcement Module
Collapse
No announcement yet.
Spring 3.0 with email communication integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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>

    Comment


    • #3
      Thanks for giving this information,I am new to email mechanism in spring ,Could you please provide the brief explanation.

      Thanks in advance

      Comment

      Working...
      X