INT-1934 changed the name of the element from attachment-file-name to attachment-filename

This commit is contained in:
Oleg Zhurakousky
2011-06-23 15:59:22 -04:00
parent d8fc7f939d
commit 9299c36953
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ public class MailHeaderEnricherParser extends HeaderEnricherParserSupport {
this.addElementToHeaderMapping("from", MailHeaders.FROM);
this.addElementToHeaderMapping("reply-to", MailHeaders.REPLY_TO);
this.addElementToHeaderMapping("content-type", MailHeaders.CONTENT_TYPE);
this.addElementToHeaderMapping("attachment-file-name", MailHeaders.ATTACHMENT_FILENAME);
this.addElementToHeaderMapping("attachment-filename", MailHeaders.ATTACHMENT_FILENAME);
this.addElementToHeaderMapping("multipart-mode", MailHeaders.MULTIPART_MODE);
}

View File

@@ -273,7 +273,7 @@
<xsd:element name="from" type="headerType"/>
<xsd:element name="reply-to" type="headerType"/>
<xsd:element name="content-type" type="headerType"/>
<xsd:element name="attachment-file-name" type="headerType"/>
<xsd:element name="attachment-filename" type="headerType"/>
<xsd:element name="multipart-mode" type="headerType"/>
</xsd:choice>
<xsd:attribute name="default-overwrite">

View File

@@ -14,7 +14,7 @@
<from value="test.from"/>
<reply-to value="test.reply-to"/>
<subject value="test.subject"/>
<attachment-file-name value="foo.txt"/>
<attachment-filename value="foo.txt"/>
<multipart-mode value="1"/>
</header-enricher>