User Tools

Site Tools


uphp:functions:mail

mail

WMPRO, WMMINI FW >= 1.0 and =< 1.1090 WMMEGA FW >= 2.1160

Send an email [deprecated in WattmonPRO & Mini]. Re-actived in Mega/MINI3 with SSL.

Description

int mail ( string $recipient, string $subject, string $body )

This function will send an email using the SMTP Server settings that are configured in Control Panel > Email Settings (/config/mail.ini).

Parameters

$recipient: Email address

$subject: Email subject/title line

$body: Email body text

Return Values

Integer: 0=success, or SMTP error code

See Also

smtp_mail - Send email using raw SSL socket in a script library

uphp/functions/mail.txt · Last modified: 2021/09/13 05:57 (external edit)