AttachmentCollectionSaveAllAsync Method (String, Boolean)
async/await version of SaveAll(String, Boolean).

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

Parameters

folderName
Type: SystemString
The absolute or relative path to the folder where to save the attachments.
ignoreInlineAttachments
Type: SystemBoolean
If true, only real attachments (not inline) will be saved; otherwise, both inline and not inline attachments will be saved.

Return Value

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