MailMessage Constructor (MailAddress, MailAddress)

Initializes a new instance of the MailMessage class

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

Parameters

from
Type: Aspose.EmailMailAddress
Sender address
to
Type: Aspose.EmailMailAddress
Recipient address
See Also