Sets the attachment's Content-type.

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

Syntax

C#
IFluentAttachment SetContentType(
	ContentType contentType
)
Visual Basic
Function SetContentType ( _
	contentType As ContentType _
) As IFluentAttachment
Visual C++
IFluentAttachment^ SetContentType(
	ContentType^ contentType
)

Parameters

contentType
Type: Limilabs.Mail.Headers..::..ContentType
Content-Type of the attachment.

Return Value

Attachment configuration

See Also