SetSubject

Specify the subject of the email message.

SetSubject(Subject)

Parameters

Parameter Type Direction Description
Subject string In String, field, or variable that evaluates to a string containing the subject line of the email message; maximum of 10240 bytes

Return Values

Values returned in $status
Value Description
0 Operation succeeded.
-18 Memory allocation error.
<0 An error occurred

Description

variables
    handle mailApiHandle
endvariables

; Create an instance handle of the UPOPMAIL API component
newinstance "UPOPMAIL", mailApiHandle
...
mailApiHandle->SetSubject("My order did not arrive")