to required default (empty)Recipient address. One email like reports@example.org, or a JSON array of addresses ["a@x.org","b@x.org"]. If empty, mail.php aborts and nothing is sent.
subject optional default (empty)Subject line of the email that gets sent on submit.
html required default (empty)The visible form fields, as literal HTML, inserted verbatim inside the form (e.g. Your note <input name="note">). Each named input becomes a labelled block in the email body. Without inputs the form has nothing to collect and mail.php aborts on submit.
body optional default (collected answers only)Email message template. The placeholder 99d05d65418d4145d43f84e83545193e-e5e89709e848a8de4b6c5785fb44d899-b35aa550b269d04c552945f73530918b-158fe886d667c999dd71dff485a6d549-082f4f83d1876cec4749a538bc73bab3-6bfa9b961d4bd7b63768c4c8c29eee86-57cedcc87af16588744150a43655d021 is replaced with all submitted fields, each rendered as a name/value block. If left empty, the email body is just those collected answers.
ok optional default (empty)Confirmation text shown to the visitor after a successful send (echoed back by mail.php and swapped into the form area).
lang optional default (install default)Language/charset for the sent email (e.g. utf-8). Controls the mail encoding, not the form display.
from optional default (install default sender)Sender address put on the email, e.g. actionapps@example.org or a Name <addr@example.org> form.
{mailform:office@example.org:Note from the site:Your note <input name="note">:A visitor wrote:<br>_#1<br>Regards<br>The website:Thanks, your note was sent.:utf-8:web@example.org}
{mailform:office@example.org:Website message:Your message <input name="message">:::utf-8:web@example.org}
{mailform:["office@example.org","desk@example.org"]:Shared inbox:Subject <input name="subject"><br>Body <textarea name="body"></textarea>:::utf-8:web@example.org}
{mailform:::Your note <input name="note">::::}
{mailform:office@example.org:Contact request:Name <input name="name"><br>Email <input name="reply"><br>Message <textarea name="message"></textarea><br><button>Send</button>:New contact request:<br>_#1:Sent. We will reply soon.:utf-8:web@example.org}