메소드 | 설명 | |
---|---|---|
Attachment ( Stream filestream, string filename ) : System |
Create an attachment from an input filestream. The name for the file also needs to be provided
|
|
Attachment ( int umbracoMediaId ) : System |
Create an attachment file from an Umbraco Media node containing a file.
|
|
Attachment ( string filePath ) : System |
Create an attachment from an existing file on the physical harddrive.
|
public Attachment ( Stream filestream, string filename ) : System | ||
filestream | Stream | The stream containing the file to attach. |
filename | string | The name of the file, including the file extension and excluding any folder/path, as it will appear in the attachment of the e-mail |
리턴 | System |
public Attachment ( int umbracoMediaId ) : System | ||
umbracoMediaId | int | The Umbraco Media Node Id containing the file to attach. |
리턴 | System |
public Attachment ( string filePath ) : System | ||
filePath | string | The relative or absolute physical path to the file to be attached. |
리턴 | System |