Update Documentation of Form Wizard to include postprocessors
Using postprocessors is not documented in the Form Wizard documentation.
Also issue #32701 added an interface for postprocessors.
Attached is a draft to be included in the Form Wizard documentation to describe how to use postprocessors.
Please inlcude this in the manual. Thanks
#2 Updated by Robert Wildling over 6 years ago
I would love to see how the senderEmail can be configured dynamically. Entering a fix email address here doesn't seem to make much sense, since I assume this variable is used to send a confirmation email to the writer. Therefore shouldn't it be the variable that is entered under "attributes" of the email form element? Also, there seem to be fields like "senderEmailField" and "senderNameField", which are not documented.
Here is a little bit of discussion going on:
Maybe a clear differentiation between fields like "sernderEmail" and "senderEmailField" would be great to mention...
#3 Updated by Franz Geiger over 6 years ago
- Assignee set to Franz Geiger
- % Done changed from 0 to 100
the senderEmail and senderMail properties (or senderEmailField and senderNameField) are not used to set to whom the email is sent. It just sets the "from:" header in the message and are by default the email address which is set in $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] and the name set in $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName'].
Currently there is no option to also send a copy of the message (or a confirmation) to the submitter of the form (i.e. your site visitor).
I just uploaded an updated documentation to clarify this. You can see the patch and the new manual here:
#6 Updated by Robert Wildling over 6 years ago
Thank you for updating the manual! - I still don't get the difference between recipientEmail and senderEmail, and why BOTH are required fields in the form. If someone uses the form, the form sends the mail to the recipientEmail, doesn't it? The senderMail is ... who? (Sorry for being slow and stupid on this one... I think, though, that the new form extension is awesome! I would love to see some funtionality that powermail has eg --- like the "send mail to the one who wrote it" ...)
#7 Updated by Franz Geiger over 6 years ago
your desired function "send mail to the one who wrote it" can be achieved by setting up a form element "email" and setting
recipientMailField = email
But you can not send the email to yourself and to the one who wrote it. That is currently not possible.
The difference between recipientMail(Field) and senderMail(Field) are shown in the following example: Imagine the following being the mail message that gets sent by the form:
Date: Mon, 12 Mar 2012 12:09:16 +0100 From: Sender Name <email@example.com> // as set in senderName(Field) and senderEmail(Field) Subject: Subject // as set in subject(Field) To: Recipient Name <firstname.lastname@example.org> // as set recipientName(Field) in recipientEmail(Field) Hello, this is the content of the message.
So the recipientEmail is the email address the actual message gets sent to and the senderEmail is the address that appears as the sender of the message.
Imagine a setup where you want visitors of your site to have a way of contacting you: You configure the plugin to take all the information you want (e.g. the name of the visitor, his/her contact details for being able to contact him/her back, a message) and send the gathered information to yourself.
So you configure the postprocessor to always send the message to your address:
recipientEmail = email@example.com
Now you could either configure the postprocessor to show the actual contact details of your site visitor as sender information:
senderEmailField = email
Or you could want to have something like "Mail from contact form from my website" as a subject and "firstname.lastname@example.org" as the sender:
senderEmail = email@example.com subject = Mail from contact form from my website
I hope that makes it a little more understandable.