How to get PloneFormGen to send a copy of the form to the submitter
When a person uses your form, you'd like them to get a copy of the email
Normally in PloneFormGen you can set the recipient email address (who will receive an email containing the form responses), but it is static. Similarly you can set multiple CC and BCC email addresses, all of which will get a copy of the form email.
How to let the person submitting the form also get a copy of the form email?
The trick is to do the following. Let's say that you want to receive the form email at firstname.lastname@example.org.
- ensure that email@example.com is in the CC or BCC list
- leave the Recipient Name field empty
- the Recipient Email Address field should be set to firstname.lastname@example.org but will get overridden later by
- in the Override tab, set the recipient override expression to request/replyto which will grab whatever was entered in the "Your Email Address" field of the form and will send to that address
- do not set a Reply-To
The resulting email header will look like this, assuming the person filling out the form entered email@example.com as their email address:
From: firstname.lastname@example.org Date: 3 September 2008 13:01:50 CDT To: email@example.com Cc: firstname.lastname@example.org Subject: New form was submitted This is an automated email - please do not reply. Your E-Mail Address email@example.com Your Name: Cash Aroonee ...