FileAttachment Type
This describes the file being attached.
Remarks
Information about the file's location that is being attached to the message is contained here.
Fields
File String |
This field contains the path of a file on your system that you would like to send as an attachment with your message. |
InputStream java.io.InputStream |
When this field is set to a valid stream, the component will attach the data from the stream as the current attachment. |
Name String |
This field contains the name of the attachment to be sent. |
Constructors
public FileAttachment();
public FileAttachment(String file);
public FileAttachment(String name, String file);
public FileAttachment(String name, java.io.InputStream inputStream);
public FileAttachment(String name, java.io.InputStream inputStream, String encoding);