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.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.22 00.21 MarkupToHTML end
 5: 00.23 00.22 MarkupToHTML end
 6: 00.23 00.22 MarkupToHTML begin
 7: 00.25 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.25 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.26 00.24 MarkupToHTML end
10: 00.26 00.24 MarkupToHTML begin
11: 00.26 00.25 MarkupToHTML end
12: 00.26 00.25 now
Peak memory: 3,739,992 bytes