User Tools

Site Tools


uphp:functions:mail

This is an old revision of the document!


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

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