diff --git a/src/reference/docbook/mail.xml b/src/reference/docbook/mail.xml
index 362aa99913..ad59e3562c 100644
--- a/src/reference/docbook/mail.xml
+++ b/src/reference/docbook/mail.xml
@@ -87,6 +87,25 @@
<poller> sub-element should be provided with either an interval-trigger or cron-trigger.
+
+ When using the namespace support, a header-enricher Message Transformer is also available.
+ This simplifies the application of the headers mentioned above to any Message prior to sending to the
+ Mail Outbound Channel Adapter.
+
+
+
+
+
+
+
+
+]]>
+
+ This example assumes the payload is a JavaBean with appropriate getters for the specified properties, but
+ any SpEL expression can be used. Alternatively, use the value attribute to specify a
+ literal. Notice also that you can specify default-overwrite and individual
+ overwrite attributes to control the behavior with existing headers.
+
To configure an Inbound Channel Adapter, you have the choice between polling or event-driven (assuming your
mail server supports IMAP IDLE - if not, then polling is the only option). A polling Channel Adapter simply
@@ -217,18 +236,6 @@ In the above example instead of relying on the default SearchTermStra
-
- When using the namespace support, a header-enricher Message Transformer is also available.
- This simplifies the application of the headers mentioned above to any Message prior to sending to the
- Mail-sending Channel Adapter.
- ]]>
-
The <imap-idle-channel-adapter/> also accepts the 'error-channel' attribute.
If a downstream exception is thrown and an 'error-channel' is specified,