Hello,

I have an issue with Camel Mail in Camel 2.13.
It sends the email twice.

The DSL is bellow:

        <setHeader headerName="to">
          <simple>exam...@mail.com</simple>
        </setHeader>
        <setHeader headerName="bcc">
          <simple>b...@mail.com</simple>
        </setHeader>
        <setHeader headerName="subject">
          <simple>Test</simple>
        </setHeader>
        <setBody>
          <simple>Test</simple>
        </setBody>
        <removeHeaders pattern="*" excludePattern="to|from|bcc|subject"/>
        <to uri="smtps://
smtp.example.com:465?username=exam...@example.com&amp;password=pass&amp;from=exam...@example.com
"/>

What can it be? The fact that I have 2 attachments? Does the fact that
there is a to and a BCC have any influence?

Thanks for reading!

Regards,
Laurentiu

Reply via email to