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 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 constructor()
public constructor(file: String?)
public constructor(name: String?, file: String?)
public constructor(name: String?, inputStream: InputStream?)
public constructor(name: String?, inputStream: InputStream?, encoding: String?)