Click or drag to resize
MimeKit

MimeMessage Constructor (Object)

Initialize a new instance of the MimeMessage class.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
public MimeMessage(
	params Object[] args
)

Parameters

args
Type: SystemObject
An array of initialization parameters: headers and message parts.
Exceptions
ExceptionCondition
ArgumentNullExceptionargs is null.
ArgumentException

args contains more than one MimeEntity.

-or-

args contains one or more arguments of an unknown type.

Remarks
Creates a new MimeMessage.
See Also