Programming Guide |
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.
- 0 Success.
sm_mail_message
mails a simple email message containingtext
withto
as the email address.The default values of
PR_MAIL_FROM
,PR_MAIL_CC
,PR_MAIL_BCC
andPR_MAIL_RECEIPT
will be used if they are set.