[Home] [Back] [Up] [<<] [>>]

CustomerName

The name of the customer lodging the mail.
This name will appear on the top of the report, and is optional.
This name can be at most MAX_REPORT_STRING characters.

Syntax

int reportGetCustomerName(char *s, int maxlen);

int reportPutCustomerName(const char *sNewValue);

Syntax description

spointer to the buffer to receive the property.
maxlenthe size in characters of the above buffer, excluding the null-terminator.
sNewValuenull-terminated string specifying the property.
Return values

The Get function returns 0 on success, and the length of the buffer required (excluding the null-terminator) if maxlen is too short.
The Put function returns 0. If the string is too long, it will be truncated.