Method | Description | |
---|---|---|
EmailAttachment ( |
Creates an email attachment. The stream must contain the contents of the attachment, be readable and must not be closed. The attachmentDisplayName should be a file name with the proper extension. NOTE: It would be kind of nice if this could use FileInfoToBeSent. THen we could have ExcelFileWriter just know how to return one of those and it would cover sending the file to the browser and emailing it.
|
|
EmailAttachment ( string filePath ) : System.IO |
Creates an email attachment.
|
Method | Description | |
---|---|---|
ToAttachment ( ) : System.Net.Mail.Attachment |
Converts this to a System.Net.Mail.Attachment.
|
public EmailAttachment ( |
||
stream | ||
contentType | string | |
attachmentDisplayName | string | |
return | System.IO |
public EmailAttachment ( string filePath ) : System.IO | ||
filePath | string | |
return | System.IO |