Forms setting up the mailer adapter

Modified on Fri, 26 Jan 2024 at 01:34 PM

PloneFormGen is the name of the product in Ploud that you use to create forms. This how-to is not how to create forms but how to configure the mailer adapter. The mailer adapter is what you add to your form in order to control 

what email the form uses to send the submitted form to and how to pull from a field an email address to reply to should you want to reply to the submitter.


If your not familiar PloneFormGen these articles are available


Getting started with PloneFormGen

Creating an Online Contact Form

Add a reCAPTCHA Field to your Forms

My forms are auto-filling in my email address


This how-to assumes you have created a Form Folder and want to add a mailer adapter and configure it to

1.) configure the email address to send the form to once the form is submitted

2.) Configure the mailer adapter extract an email address from a field the submitter fills into reply-to so you can answer questions etc by replying to the email that was submitted.


Adding the mailer adapter


1.) Logged into the site go to the form folder you want to add a mailer adapter to if one is not already added


2.) Select Add New and from the drop-down select Mailer Adapter

3.) After adding the mailer adapter to access the adapter select from the green bar the Contents tabThis will open the folder showing all the form adapters.

Example:

4.) To open the Mailer adapter click on it 

5.) Select Edit from the green bar (The following screen is where you input the email address to send the submitted form to.

Enter the recipient's name and email address here. After this when a user fills out this form and selects to submit the form will be sent using the information provided from this page and save.


6.) This next step is how to configure the mailer adapter so that when the library wishes to reply to the form using email the Reply-To address will be used for the email reply.


In order for this to work a string field to input the email address to be used as a reply-to needs to be on the form.

Example of a string field configured to validate the email address entered





Reply-to Set up


To be able to send a reply directly from the email you recive from the form you will want to set up a Reply-To setting that way when you click reply in the email the person who sent the email will be the recipiant instead of Ploud@enfoldsystems.com

Once you have confirmed there is an input field validating the user filling out the form email address return to the mailer adapter (Step 3) and select Edit then select the addressing tab


  1.  Go to the folder where the form is located
  2. In the contents select Mailer
  3. Select Edit
  4. Select Addressing
  5. Set the fields as in the image below
    The field Extract Reply-to from the dropdown relects what ever title you gave for the user to enter their email address when the form was created




Note: The field name used when creating the strig field the title was "Your E-Mail Address" you may have called it something else


This completes the mailer adapter configuration to send a submitted form to a specifc email addfess and that email recieved when replied to will use the email address of the submitter.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article