Spring Integration Reference Manual 2.0.0.RC1 outdated section
28.3 Mail Namespace Support
Code:
<mail:header-enricher subject="Example Mail"
to="to@example.org"
cc="cc@example.org"
bcc="bcc@example.org"
from="from@example.org"
reply-to="replyTo@example.org"
overwrite="false"/>
When it should be something like:
Code:
<mail:header-enricher input-channel="mailOutputChannel"
output-channel="enrichedMailOutputChannel">
<mail:from value="test@email.com" />
.....
</mail:header-enricher>
as the use of top-level attributes for headers was dropped.