Listserv / Mailing List in Drupal

Joined: 12/07/2008

I've been really surprised by the lack of any sort of listserv / mailing list creation and management modules in Drupal. We've been using mailman for a few years now and have grown tired maintaining it. We'd like to merge that functionality into Drupal so that the users only need to change their email addresses in one location. Since no one modules exists do handle the functionality of a listserv (as far as I can tell), I'd like to piece one together or just create my own.

Here's the basic functionality we need:

  • User sends out email and all members of a particular role receives that email.
  • User's do not ever have to visit the website except to create their account.

In essence, I imagined that a module to post content via email (1.) + a module to notify all users about a particular content post (2.) = listserv (3.).

(1.) The mailhandler module allows creation of nodes via email and sets the author to the user associated with that email's sender. If the sender's email doesn't exist, it doesn't get posted (great for beating spam!). I created a new content type to handle these emails, and can easily maintain a log of emails sent to the list this way through views. Surprisingly, this was the easy part!

(2.) Two solutions I found immediately were the Subscriptions module and the Notifications module. I tried Notifications for no other reason than it coming up sooner on my modules list. Everything seemed to work as far as I could tell... except that no emails were being sent out. I subscribed a test user to the list, checked permissions, error log - everything I could think of - but I would not receive an email when the content was created.

I had especially high hopes for the Subscriptions module since it was co-created from the ground up by none other than the one-and-only CHX. I liked the interface and configuration options much better for this one, but I ended up with the same end result. Everything looked right, but nothing ever got sent out.

I was confused and convinced that I was doing something wrong, but I have no idea how to check that. As a last try I used triggers and actions to see when that content was created and send out an email... and it (mostly) works! I started out just telling it to email me with the content when new content was posted and it worked flawlessly with email.

Then I realized I really needed to set it up to work with multiple people (or preferably a role) or this would be a useless for this purpose, so I looked around and learned how to create custom triggers using theWorkflow module (to monitor what type of content was created) and the Action Email Role module to send it to a particular role. This also worked great!

(3.) So we have our own Drupal created and maintained listserv. Here are the problems I've encountered so far and just haven't had a chance to tackle today:

  • Emails sent out to the role is in plain text (not rich/html). Should the PHPMailer in the Messaging module fix this?
  • Occasionally, for some unknown reason, mailhandler via POP3 will not count an email as read - causing it to continuously read it in as a new message and send it out to everyone multiple times. I'm thinking of trying IMAP instead of POP3.
  • Emails are sent out from the webmaster's email address (the address registered with Drupal) rather than the listserv email. I'm not sure how to go about fixing this.

So what's the word? Should I keep at it, be using something else, or try to write my own module?

-
David Needham
EnjoyCreativity.

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
Clarification...

I think I need a little clarification. Are you looking for tie in with mailman or some other outside tool. Or, are you looking for a complete drupal solution for newsletters.

If you are looking for a complete drupal solution for newsletters check out the Simplenews module (http://drupal.org/project/simplenews). Drupal.org uses this module so you'll always have an upgrade path. If you are signed up for any of the drupal.org mailings like the security mailing list it's managed through there.

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com

Joined: 12/07/2008
RE: Clarification

We're looking for a complete Drupal solution. Mailman had some issues we weren't really happy with and by using a Drupal solution we won't have to maintain sets of email addresses.

Thanks, I'll check out simplenews and check back with results.

-
David Needham
EnjoyCreativity.

Joined: 12/07/2008
Simplenews looks like exactly

Simplenews looks like exactly what we need, except I can't find a way to make it auto send a content type as a newsletter. I can have it send a particular newsletter when content is created using actions and triggers, but actually setting the new content as a newsletter is a different story.

-
David Needham
EnjoyCreativity.

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
Newsletter Content Type

Simplenews provides a Newsletter content type. You need to use this to send the newsletters rather than your own type.

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com

Joined: 08/31/2006
another method - Organic Groups

Awhile back I was trying something similar, but instead of using Notifications or Subscriptions (Subscriptions will only email in response to comments not new nodes) - I used Organic Groups.

You can configure mailhandler to automatically add content to a group, and then the group can be configured to always email content to its members. (but mailhandler is not well documented and there are some bugs in this functionality)

The main drawback to this is that there is no way to easily subscribe people to the group as an administrator. You and each user have to go through this convoluted invite-create account-subscribe process. Which most users never make it through.

I like the simplicity of this for a listserv, the user has to send one email to subscribe. No account creation. No subscriptions. No multiple steps to confuse them. And the administrator can add/update/delete emails very easily. This is my dream goal.

Once I have time to talk to the users and see what they would really like to see - then I plan to revisit this and see if I can find a way to make it easier to accomplish in Drupal.

Joined: 12/13/2008
CiviMail and other options

CiviMail is part of CiviCRM which ties in with Drupal http://civicrm.org/civimail - http://sourceforge.net/project/showfiles.php?group... - In the past the mail part of CiviCRM was a little difficult to install but I think they've been working on that. Of what I've seen offered with Drupal this is only option that offer the extras like tracking of opens and click-throughs.

If it doesn't have to be tied in with Drupal than another option would be

PhPlist http://www.phplist.com/ -

Baby Druper
Baby Druper's picture
About Mailing list

Hello,
I used Mailman Manager module to create mailing list. But I don't know how to send mail to my mailing list. I want some tutorial.

Joined: 03/22/2010
OG Mailing list

Check out OG_Mailinglist, its is a great effort, I think this may be the way to go for a lot of us trying to make a listserv with Drupal.

Joined: 04/26/2011
E-goi Synchronization

It is still a sandbox project but the platform (E-goi) works very well

Check it out: http://drupal.org/sandbox/E-goi/1110712