The Subject property specifies the message subject. The Subject property is a shortcut to the Headers("Subject") collection item.
Sets or returns a String value.
If the subject contains special characters, they will be encoded using the current codepage.
In the following example, the subject is customized with the receiver's name and the text is based on the receiver's language.
Sub Mail_OnStartRender
If Record.Field("Country") = "France" Then
Mail.Subject = "Relance à l'attention
de " & Record.FullName
Else
Mail.Subject = "Billing reminder to
the attention of " & Record.FullName
End If
End Sub