INT-1713 added content-type to Mail Header Enricher

This commit is contained in:
Oleg Zhurakousky
2011-01-20 12:18:14 -05:00
parent 93511fa616
commit c86ad76323
4 changed files with 7 additions and 8 deletions

View File

@@ -13,14 +13,11 @@
<int:channel id="inputChannel"/>
<int:header-enricher input-channel="inputChannel" output-channel="mailEnricherChannel">
<int:header name="mail_contentType" value="text/html"/>
</int:header-enricher>
<int-mail:header-enricher input-channel="mailEnricherChannel" output-channel="mailChannel">
<int-mail:to value="emailaddress"/>
<int-mail:from value="emailaddress"/>
<int-mail:header-enricher input-channel="inputChannel" output-channel="mailChannel">
<int-mail:to value="mailto"/>
<int-mail:from value="mailfrom"/>
<int-mail:subject value="With Content Type"/>
<int-mail:content-type value="text/html"/>
</int-mail:header-enricher>
<int:channel id="mailChannel"/>