Click or drag to resize
MimeKit

MimeMessage(IEnumerableInternetAddress, IEnumerableInternetAddress, String, MimeEntity) Constructor

Initialize a new instance of the MimeMessage class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public MimeMessage(
	IEnumerable<InternetAddress> from,
	IEnumerable<InternetAddress> to,
	string subject,
	MimeEntity body
)

Parameters

from  IEnumerableInternetAddress
The list of addresses in the From header.
to  IEnumerableInternetAddress
The list of addresses in the To header.
subject  String
The subject of the message.
body  MimeEntity
The body of the message.
Remarks
Creates a new MIME message, specifying details at creation time.
See Also