INT-1934 changed the name of the element from attachment-file-name to attachment-filename
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user