MailForm


This is a sample form for sending mail:


(:messages:)
(:input mailform target=pmichaud:)
(:input default request=1:)
From: (:input text from :) \\
Subject: (:input text subject :) \\\
(:input textarea text rows=15 cols=60:) \\
(:input select name=test value=1 label=test1:)
(:input select name=test value=2 label=test2:) The value selected in this field doesn't get sent in the email\\\
(:input text name=comment value="test12":) The value selected in this field doesn't get sent in the email\\\
(:input submit name=post value="Mail" :)
(:input end:)

From:
Subject:


The value selected in this field doesn't get sent in the email

The value selected in this field doesn't get sent in the email

Valid targets are taken from the Site.MailFormList page or from array entries in a local customization. For example, the entry

    pmichaud: to=pmichaud@pobox.com

means that any mail with a target= parameter of 'pmichaud' will be send to <pmichaud@pobox.com> . It's also possible to use the Site.MailFormList page to specify a subject, or an alternate template to use for sending the mail.

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.12 00.10 MarkupToHTML begin
 3: 00.12 00.10 MarkupToHTML begin
 4: 00.13 00.11 MarkupToHTML end
 5: 00.14 00.12 MarkupToHTML end
 6: 00.14 00.12 MarkupToHTML begin
 7: 00.15 00.13 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.15 00.13 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.16 00.14 MarkupToHTML end
10: 00.16 00.14 MarkupToHTML begin
11: 00.16 00.14 MarkupToHTML end
12: 00.16 00.14 now
Peak memory: 3,424,920 bytes