SetSubject

Sets the text for the email's Subject field.

Syntax

bool SetSubject (StrParamMW)

Parameters

The subject line of the email. Smart Parameters are supported.

Returns

False if the mail object cannot be initialized. Otherwise, True.

Level

All levels.

Details

Sets the text for the email Subject field. It is recommended that the subject line be no longer than 78 characters as this is a common subject line length limitation. Some systems may support even shorter lengths, truncating the subject. Our testing has been successful with lengths up to 255 characters. It is recommended to test your settings and use lengths appropriate for your systems.
Example:
SetSubject("Document Integrity")