MailMessageSaveHtmlAndRelatedFilesAsync Method
async/await version of SaveHtmlAndRelatedFiles(String).

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Task<bool> SaveHtmlAndRelatedFilesAsync(
	string filename
)

Parameters

filename
Type: SystemString
The HTML file to be written to.

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if the body was successfully saved; otherwise, false.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionfilename is a null reference (Nothing in Visual Basic) or an empty string.
MailBeeIOExceptionAn I/O error occurred and ThrowExceptions is true.
See Also