Package org.apache.camel.component.mail
Interface AttachmentsContentTransferEncodingResolver
public interface AttachmentsContentTransferEncodingResolver
Resolver to determine Content-Transfer-Encoding for file attachments.
Normally this will be determined automatically, this resolver can be used to override this behavior.
Normally this will be determined automatically, this resolver can be used to override this behavior.
-
Method Summary
Modifier and TypeMethodDescriptionresolveContentTransferEncoding
(jakarta.mail.BodyPart messageBodyPart) Resolves the content-transfer-encoding.
-
Method Details
-
resolveContentTransferEncoding
Resolves the content-transfer-encoding. Return null if you cannot resolve a content-transfer-encoding or want to rely on the mail provider to resolve it for you.- Parameters:
messageBodyPart
- the body part- Returns:
- the content-transfer-encoding or null to rely on the mail provider
-