Irma can be instructed to send mail using the <!--EMAIL--expression-->
command. Add the following code to the template.html example of the previous section.
<!--EMAIL--$email--
Name: $name
Email: $email
This form was posted with Irma
Your ip was $ip, today is $date.
-->
|
Try posting the form again. Enter your email address and you should receive
an email with the contents defined in the EMAIL tag.
You can run, download and view the source of both forms at
http://irma.vestris.com/docs/guide/second-form.html
and
http://irma.vestris.com/docs/guide/second-template.html
.