Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: CAMEL-869

...

The mail component provides access to Email via Spring's Mail support and the underlying JavaMail system.

This has been reported in CAMEL-869 and verified that it works flawless declaring this beanor other unforeseen errors then it could be because of having geronimo-javamail_1.4_spec-1.3.jar in the classpath. This was the culprit in a long bug hunt reported in CAMEL-869.

Warning
titleMailSenderClasspath issue

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
xmlxml

<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
    <property name="host" value="YOUR_MAIL_SERVER_HERE"/>
</bean>
Info
titleDefault consumer delay changed

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.

...