Set up Double Opt-in emails in WP Fluent Forms
When the user submits their email to your list, a double opt-in email is then required to confirm their email. So they have to click on an email with a confirmation link to confirm the validity of their email address when they subscribe to your newsletter.
WP Fluent Forms offers another dynamic feature and that is built-in Double Opt-in Email Confirmation. Follow this simple guide to learn how to apply this feature in your form.
The first step is to create a form, or you can also you any existing form. In this example, a simple Contact form has been used.
In order to apply the Double Opt-in option, you first need to go to your Fluent Form’s Global Settings from the left sidebar of the dashboard. Right under the Settings tab, you will find the Double Optin Settings tab. Click on that and here you have to check the Enable Double Opt-in Module option.
In this setting, you can configure the Email Subject for a double opt-in email with the Global Email Subject option. In the Global Opt-in Email Body, Enter the content you would like the user to send via email for a confirmation. Then you can also enter the name you would like the notification email sent from & the email address too.
In the Reply to option, you can add the email address you would like to be used as the reply-to address for the notification email. Note that, if your domain’s SMTP has already set these email addresses. Then Fluent Form’s double opt-in settings will not work, so make sure to set that too.
Check the box if you want to Automatically delete unconfirmed entries if not confirmed in certain days. Select how many days, it will wait before deleting the unconfirmed entries in the Waiting Days option.
Then go to your form’s Settings & Integrations tab, here scroll down to Enable Double Optin Confirmation before Form Data Processing and check this option. After this, you can see a few options where you need to set the Primary Email Field. In the selected email field, the double opt-in email will be sent for verification. Enter the text you would like the user to see just after initial form submission in the Initial Success Message option.
Now you can either keep the Email Type, As Per Global Settings, or choose the Customized Double Optin Email option. Here you can add the Optin Email Subject and also customize the Optin Email Body. To enter the content you would like the user to send via email for a confirmation.
Then if you needed you can check the Disable Double Optin for Logged in users. And you can also Disable Double Optin if contact email is subscribed in FluentCRM. Then make sure to save your settings.
After going to the email inbox, when you click the Confirm Submission button. The confirmation message will appear. The Email Notification gets triggered when the Double Opt-in is confirmed.