Programming Guide



sm_*mail_text

Specifies the field containing the text of the email message

int sm_mail_text(int obj_id, char *field_name);
int sm_n_mail_text(char *name, char *field_name);

obj_id
The object ID of the mail object.

name
The name assigned to the mail object.

field_name
The field containing the text of the mail message.

Returns

Description

sm_mail_text takes the message text from the specified field. If the field is not word wrapped, each occurrence will be placed on a new line.

See Also

sm_*mail_file_text