Quick setup

Considering the number of modules needed to create a mailing list system, it is risky, and perhaps a misnomer, to offer a "quick setup" guide. But for Drupal developers and users familiar with the modules involved, it might be helpful to have an idea of the workflow involved.

Add the infrastructure:

  1. Install and enable the modules needed for a basic implementation.
  2. Whether you use Messaging 6.x-2.x or Messaging 6.x-4.x you will need to patch the messaging_phpmailer.module, so do that before beginning the setup. (See the Setup Messaging page)
  3. Create one or more content types for nodes that will be created from emails.
  4. Create a user named Listmaster with the email address listmaster@example.com.
  5. Create a user for each mailinglist you will establish, i.e. Group1 with the email address group1@example.com.
  6. Set up the modules in this order:
  • PHPMailer — download the PHPMailer library and place it in sites/all/libraries
  • Mailhandler
  • Feeds
  • Notifications
  • Messaging
  • Mailcomment
  • Organic Groups

Create your mailing list(s):

  1. Create an organic group for each mailing list, i.e. Group1, Group2, ...
  2. Add site users to the group(s). At least until you have confirmed that everything is working properly, make yourself a member of the group so you can send and receive emails.
  3. Go to the Manage Subscriptions>Administer page and make sure subscriptions were created for each user in the group, including Listmaster and Group1.
  4. Block subscriptions for Listmaster and Group1.

Test your setup:

  1. Send an email to group1@example.com.
  2. Either wait until cron runs to see if a node has been created and an email sent, or go to example.com/import/group1 and click Import.
  3. In your email reader select Reply to sender and make sure the Reply-to address is set to listmaster@example.com. Compose and send a reply.
  4. Again, wait for cron or go to example.com/import/listmaster and click Import.
  5. Verify that a comment was added to the node created in Step 11 and that you received an email notification about the comment.
Projects