Retrieves or sets a value that indicates the subject of the email message.
Type | Description | |||
String | A String expression that indicates the email message's subject. |
Use the Subject property to set up your email message's subject. Changing the Subject, optional parameter of the Send method is equivalent with changing the Subject property.
The following sample shows how to send an email message with the Subject "hello":
Private Sub Form_Load() Dim m As Message Set m = Runtime1.NewMessage If (0 = m.Send("me", "mike2@Unknown2.com", "Hello")) Then MsgBox "The message was delivered OK." End If End Sub