SysMailerNet.subject Method [AX 2012]

Sets the Subject field of your message if you are not using the quickSend method to send the email message.

Syntax

public str subject([str theSubject, CLRObject subjectEncoding])

Run On

Called

Parameters

  • theSubject
    Type: str
    A string that describes the subject matter of the email message; optional.
  • subjectEncoding
    Type: CLRObject Class
    Specify the encoding to be used for the subject of this mail message

Return Value

Type: str
The string that describes the subject matter of the email message.

Remarks

Use the theSubject parameter to set the subject field of the email message if you are not using the quickSend method to send the email message. The quickSend method sets the Subject field by using the Subject argument.You should set this property before an email message is sent. The subject content is encoded using UTF8 scheme if none is specified.

See Also

Reference

SysMailerNet Class