Method | Description | |
---|---|---|
EmailExporter ( ) : System |
Initializes a new instance of the EmailExporter class.
|
|
ExportToEmail ( Microsoft workbook, |
Method | Description | |
---|---|---|
AddAlternateHtml ( |
||
AddAttachment ( |
||
AddAttachment ( |
||
AddAttachments ( |
||
AddAttachmentsAndAlternateHtml ( |
||
AddLinkedResourceForFullSizeImage ( Byte abtFullSizeImage, System.Net.Mail.AlternateView oHtmlView ) : void | ||
GetMailMessage ( Microsoft oWorkbook, |
||
GetSmtpClient ( String sSmtpHost, |
||
GetSuggestedFileNameNoExtension ( Microsoft oWorkbook ) : String | ||
ReplaceGraphSummaryMacro ( String sMessageBody, Microsoft oWorkbook ) : String | ||
SetAddresses ( |
||
TryReplaceGraphImageMacro ( String &sMessageBody ) : System.Boolean |
Method | Description | |
---|---|---|
AssertValid ( ) : void |
protected AddAlternateHtml ( |
||
oMailMessage | ||
abtFullSizeImage | Byte | |
return | void |
protected AddAttachment ( |
||
oMailMessage | ||
abtAttachmentContents | Byte | |
sContentType | String | |
sSuggestedFileNameNoExtension | String | |
sSuggestedExtension | String | |
return | void |
protected AddAttachment ( |
||
oMailMessage | ||
sAttachmentContents | String | |
sContentType | String | |
sSuggestedFileNameNoExtension | String | |
sSuggestedExtension | String | |
return | void |
protected AddAttachments ( |
||
oMailMessage | ||
sSuggestedFileNameNoExtension | String | |
sGraphMLFileNameNoExtension | String | |
abtFullSizeImage | Byte | |
abtWorkbookContents | Byte | |
sWorkbookSettings | String | |
abtGraphMLZipped | Byte | |
return | void |
protected AddAttachmentsAndAlternateHtml ( |
||
oMailMessage | ||
oWorkbook | Microsoft | |
oNodeXLControl | ||
bExportWorkbookAndSettings | System.Boolean | |
bExportGraphML | System.Boolean | |
bUseFixedAspectRatio | System.Boolean | |
return | void |
protected AddLinkedResourceForFullSizeImage ( Byte abtFullSizeImage, System.Net.Mail.AlternateView oHtmlView ) : void | ||
abtFullSizeImage | Byte | |
oHtmlView | System.Net.Mail.AlternateView | |
return | void |
public ExportToEmail ( Microsoft workbook, |
||
workbook | Microsoft | |
nodeXLControl | ||
toAddresses | String | |
fromAddress | String | |
subject | String | |
messageBody | String | |
smtpHost | String | |
smtpPort | ||
useSslForSmtp | System.Boolean | |
smtpUserName | String | |
smtpPassword | String | |
exportWorkbookAndSettings | System.Boolean | |
exportGraphML | System.Boolean | |
useFixedAspectRatio | System.Boolean | |
return | void |
protected GetMailMessage ( Microsoft oWorkbook, |
||
oWorkbook | Microsoft | |
oNodeXLControl | ||
asToAddresses | String | |
sFromAddress | String | |
sSubject | String | |
sMessageBody | String | |
bExportWorkbookAndSettings | System.Boolean | |
bExportGraphML | System.Boolean | |
bUseFixedAspectRatio | System.Boolean | |
return |
protected GetSmtpClient ( String sSmtpHost, |
||
sSmtpHost | String | |
iSmtpPort | ||
bUseSslForSmtp | System.Boolean | |
sSmtpUserName | String | |
sSmtpPassword | String | |
return |
protected GetSuggestedFileNameNoExtension ( Microsoft oWorkbook ) : String | ||
oWorkbook | Microsoft | |
return | String |
protected ReplaceGraphSummaryMacro ( String sMessageBody, Microsoft oWorkbook ) : String | ||
sMessageBody | String | |
oWorkbook | Microsoft | |
return | String |
protected SetAddresses ( |
||
oMailMessage | ||
asToAddresses | String | |
sFromAddress | String | |
return | void |
protected TryReplaceGraphImageMacro ( String &sMessageBody ) : System.Boolean | ||
sMessageBody | String | |
return | System.Boolean |