...
The mail component provides access to Email via Spring's Mail support and the underlying JavaMail system.
Warning | |||
---|---|---|---|
| |||
This mail component uses Spring Mail Support for sending and receiving mails. If you have trouble with sending mails that they donfor instance doesn't contain any subject or , has wrong recipients then you might need to declare a MailSender bean in your spring configuration such as: Code Block | | xml | xml |
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="YOUR_MAIL_SERVER_HERE"/>
</bean>
|
Info | ||
---|---|---|
| ||
As of Camel 1.4 the default consumer delay is now 60 seconds. Camel will therefore only poll the mailbox once a minute to not exhaust the mail server. The default value in Camel 1.3 is 500 millis. |
...