User Tools

Site Tools


uphp:functions:mail

This is an old revision of the document!


Table of Contents

mail

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Send an email

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 Value

Integer: 0=success, or SMTP error code

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