T
- ; If File or Image then its the File
or FileInputStream
or a byte[] for base64 encoded String in the case of EmailMultiPartBuilder.Part.Type.IMAGE_EMBEDDED_BASE64
public static class EmailMultiPartBuilder.FilePart<T> extends EmailMultiPartBuilder.Part<T>
EmailMultiPartBuilder.Part.MultiPartType, EmailMultiPartBuilder.Part.Type
Modifier and Type | Field and Description |
---|---|
String |
contentName
Should be unique, ..lik abc@a.b.c
Used to identify the part when used in conjunction with other parts. |
String |
fileName
If put as an attachment then will put the file name
|
String |
id
Special content Id String.
|
String |
mimeType
Mime Type, example: application/pdf
Note: be sure the mime type is valid if you set this as a validation may cause an exception on an unrecognized mime type.
|
data, type
Constructor and Description |
---|
FilePart() |
public String id
Multipart
data if an element is related to another part then it can use this Id.http://tools.ietf.org/html/rfc5322#section-3.6.4
public String contentName
public String fileName
public String mimeType
Copyright © 2018. All rights reserved.