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 System.IO.Stream |
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()
public FileAttachment(string file);
Public FileAttachment(ByVal File As String)
public FileAttachment(string name, string file);
Public FileAttachment(ByVal Name As String, ByVal File As String)
public FileAttachment(string name, System.IO.Stream inputStream);
Public FileAttachment(ByVal Name As String, ByVal InputStream As System.IO.Stream)
public FileAttachment(string name, System.IO.Stream inputStream, string encoding);
Public FileAttachment(ByVal Name As String, ByVal InputStream As System.IO.Stream, ByVal Encoding As String)