Programming Guide



sm_mail_message

Sends a simple email message

int sm_mail_message(char *to, char *subject, char *text);

to
The recipient of the mail message.

subject
The subject of the mail message.

text
The text of the mail message.

Returns

Description

sm_mail_message mails a simple email message containing text with to as the email address.

The default values of PR_MAIL_FROM, PR_MAIL_CC, PR_MAIL_BCC and PR_MAIL_RECEIPT will be used if they are set.