MailMessage Constructor (String, String, String, String)

Initializes a new instance of the MailMessage class

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public MailMessage(
	string from,
	string to,
	string subject,
	string body
)

Parameters

from
Type: SystemString
Sender address
to
Type: SystemString
Recipient address
subject
Type: SystemString
Message subject
body
Type: SystemString
Message body
See Also