Results 1 to 3 of 3

Thread: Spring 3.0 with email communication integration

  1. #1

    Default 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. #2
    Join Date
    Nov 2010
    Location
    Hyderabad, India
    Posts
    6

    Default

    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>

  3. #3

    Default

    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
  •