Subscribing through form submission
We are running Sitefinity 6.1
We have a Contact Us form that gets submitted by anonymous users.
The form has the fields: First Name, Last Name, Email, Phone, and Address.
We were wondering if we could add a checkbox that says "Please subscribe me for the newsletter" and whenever the form is submitted and that checkbox is true to add them into the subscriber list and into the corresponding mailing list.
Please let me know what would be the best way to achieve this.
This functionality could be achieved by attaching the Mailing List to a Form. This is configured from the advanced settings of the mailing list, from Connect this list. More information about this setting you can find from this forum thread. You can test that the emails are sent using Smtp4Dev free tool.