webform_phplist
7 sites
Security covered
About
This module adds a handler for sending webform submissions to a self-hosted phpList installation. phpList ist an open-source newsletter solution. This module allows to add first name, last name and e-mail address to lists.
Pre-requisites
You need to have the MySQL / MariaDB database of phpList accessible to Drupal. This is true if both phpList and Drupal use databases on the same database server. This is also true if Drupal has a network connection to the phpList database server.
Installation and configuration
- Install and enable the module like any other Drupal module. Visit
drupal.org/docs/extending-drupal/installing-drupal-modules for further information. - Add and configure a webform
- Add “Post to phpList” as a handler under Settings » E-mail/Handlers
- Configure the handler. You will be guided on how to add the database connection to Drupal’s settings.php.
You have these options:- Title, Administrative notes: only visible to webform admins.
- Add submission to these lists
- Mailing list opt-in:
- Double opt-in: Send a confirmation email to verify the email address.
The email sender, reply-to, subject and body are taken from the phpList configuration.
The default, double opt-in, will attempt to send an email using
Drupal’s default MailManager. If you have not set up anything, it will
use what is configured in PHP, usually the host’s sendmail. In other
words, it doesn’t use the phpList configuration directly. - Single opt-in: Set the “confirmed” option in phpList to 1.
- Double opt-in: Send a confirmation email to verify the email address.
Supporting this module
To say thank-you or financially support development of this module, you can send a few Euros via PayPal: [email protected]