hello,
I am sending mails via the JavaMailSender interface, and i would like to set a timeout property if the smtp server is not responding.
Is there a way to set this in the bean definition in the context.xml or somewhere else?
<bean id="mailSender"
class="org.springframework.mail.javamail.JavaMailS enderImpl">
<property name="host"><value>...</value></property>
</bean>
thx in advance


Reply With Quote
