MailMessage Constructor (String, String, String, String) |
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public MailMessage(
string from,
string to,
string subject,
string body
)
Public Sub New (
from As String,
to As String,
subject As String,
body As String
)
public:
MailMessage(
String^ from,
String^ to,
String^ subject,
String^ body
)
new :
from : string *
to : string *
subject : string *
body : string -> MailMessage
Parameters
- from
- Type: SystemString
Sender address - to
- Type: SystemString
Recipient address - subject
- Type: SystemString
Message subject - body
- Type: SystemString
Message body
See Also