MailMessage Constructor (String, String)

Initializes a new instance of the MailMessage class

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

Parameters

from
Type: SystemString
Sender address
to
Type: SystemString
Recipient address
See Also