Package org.apache.camel.component.mail
Interface AttachmentsContentTransferEncodingResolver
-
public interface AttachmentsContentTransferEncodingResolverResolver to determine Content-Transfer-Encoding for file attachments.
Normally this will be determined automatically, this resolver can be used to override this behavior.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringresolveContentTransferEncoding(javax.mail.BodyPart messageBodyPart)Resolves the content-transfer-encoding.
-
-
-
Method Detail
-
resolveContentTransferEncoding
String resolveContentTransferEncoding(javax.mail.BodyPart messageBodyPart)
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
-
-