Skip to content

Commit

Permalink
CAMEL-18584: Constructor of mailBinding fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mash-sap committed Oct 24, 2023
1 parent 956ff5f commit b7d3de6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ public MailBinding(HeaderFilterStrategy headerFilterStrategy, ContentTypeResolve
MAIL_GENERATE_MISSING_ATTACHMENT_NAMES_NEVER, MAIL_HANDLE_DUPLICATE_ATTACHMENT_NAMES_NEVER);
}

public MailBinding(HeaderFilterStrategy headerFilterStrategy, ContentTypeResolver contentTypeResolver,
boolean decodeFilename, boolean mapMailMessage,
boolean failOnDuplicateAttachment) {
this(headerFilterStrategy, contentTypeResolver, decodeFilename, mapMailMessage, failOnDuplicateAttachment, "never", "never");
}

public MailBinding(HeaderFilterStrategy headerFilterStrategy, ContentTypeResolver contentTypeResolver,
boolean decodeFilename, boolean mapMailMessage,
boolean failOnDuplicateAttachment, String generateMissingAttachmentNames,
Expand Down

0 comments on commit b7d3de6

Please sign in to comment.