Creates MailBuilder with all visual and non-visual attachments removed according to parameter values.

Namespace: Limilabs.Mail
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
MailBuilder RemoveAttachments(
	bool removeVisuals,
	bool removeNonVisuals
)
Visual Basic
Function RemoveAttachments ( _
	removeVisuals As Boolean, _
	removeNonVisuals As Boolean _
) As MailBuilder
Visual C++
MailBuilder^ RemoveAttachments(
	bool removeVisuals, 
	bool removeNonVisuals
)

Parameters

removeVisuals
Type: System..::..Boolean
Specifies if visuals attachments (those in Visuals collection) should be removed.
removeNonVisuals
Type: System..::..Boolean
Specifies if visuals attachments (those in NonVisuals collection) should be removed.

Return Value

MailBuilder that can be used to create email without attchments.

See Also