How To Install The Mass Mailer

BKWill - July 19, 2005 - 22:27

How to install the Mass Mailer by a beginner:

Please use the official documentation.

The purpose of ths post is to share my experience in working with this module in hopes that is will help anyone who is having dificulties getting this module installed. I posted some questions and frustrations in another thread that deals with this same topic http://drupal.org/node/16116 . I've had success installing most of the modules on Drupal and outside of the image module hadn't had such a difficult time. The thread listed above offers some insight and solutions but in the end nothing really worked out. By no means is anything I've listed in this thread original by any means, and I would have to thank Killes (http://drupal.org/user/227) for bringing me back to the basics. In the end I followed his advice and followed the instructions step by step and everything worked liked a charm. I think each of us have a different way of reading things and what makes sense to some of us is lost by others. Enough babble, here you go:

Drupal Version 4.6.2
MassMailer CVS (http://drupal.org/files/projects/mass_url-cvs.tar.gz)
PHPList (http://www.phplist.com/files/phplist-2.9.4.zip)

Before installing this module please read all of the instructions, they work.

Step One: Start from scratch, if you have already tried to install this module undo everything you've done. Deactivate the module and any plugins, and remove the folder and files from your server, and then drop any tables you created in your DB (I use Transmit 3 for ftp access to my site and phpmyadmin to add and remove tables from my databse). If you have never tried to install this module this step does not apply.

Step Two: Collect the files and modules you will need using the links above.

Step Three: Move the massmailer module folder to your modules directory ( www.yoursite.com/modules )

Step Four: From the phplist-2.9.4 folder copy the the 'public_html/lists/admin' directory into the massmailer module folder: ( www.yoursite.com/modules/massmailer/engines/phplist/phplist ) There should only be three things in this directory: the "admin folder", the "texts folder" and the "readme.txt file". The only folder you are copying over from the phplist-2.9.4 folder 'public_html/lists/' is the "admin" folder and nothing else.

Step Five: This might be the only real difficult step for anyone not familar with changing the access of a folder and setting new permissions. The instructions are: chmod the phplist file in phplist/bin to be world executable (0755). This file is located at www.yousite.com/modules/massmailer/engines/phplist/bin/phplist . You can do this using the filemanager located inside your cpanel for your site. Navigate to you public html folder and to the location of the file following the path above. You should then be able to select to change the permission of the file. DO NOT DO THIS UNLESS YOU KNOW WHAT YOU ARE DOING!! If you use an ftp program like Transmit you can do this simply by highlighting the file on your server and from the toolbar under Files> Get Info (Apple I for mac users). This will bring up a window that will let set the permissions.

Step Six: Enable the Phplist module first and save your settings, and then enable the massmailer module and save your settings.

Step Seven: Select and save your personal settings for the module under the massmailer module settings page: administer > settings > massmailer. Make sure under engines to use phplist. Fill out the other desired fields, the email report address is a required field. Save your settings.

Step Eight: Create a Mailing List and assign it users, I did this as a test using nine friends. Create a test message, and set the que for two minutes from your current time and hit process. It will say submitted.

Step Nine: Select the Send Messages under administration>massmailer>send messages You should see a text field and beneath an information field on your version of phplist along with some other information. Refresh that page in two minutes, it should display a report on your message, and you should check your inbox to see if you should have received the email report.

I hope this helps people. I've successfully sent several mass emails using plain text and html formats.

Cheers,

Will

Quick question...

jsimonis - July 20, 2005 - 01:17

You placed it in the massmailer folder?

In my installation (I'm using the newest Civic Space), it is in a folder under modules named phplist-- modules/phplist/phplist/admin

My list works, except for a few things-- I can't seem to get any images to work in the mail that goes out, and I can't find out where to remove the unsub links at the bottom of the e-mail.

I can send e-mail fine, it's just that the images don't show up when people get the e-mails.

--
Jenni S.

Broken image tags in html emails

jjeff - July 20, 2005 - 01:28

Hi Jenni,

I'm trying to come up with a "real" fix for the broken images problem, but in the meantime there is a workaround:

http://drupal.org/node/18581

--= Jeff Robbins | www.jjeff.com =--

Thanks!

jsimonis - July 20, 2005 - 02:09

Boy, you're fast! Thanks for the response. I'll go look at the workaround.

--
Jenni S.

still not working

jsimonis - July 20, 2005 - 02:20

They're still not working. I used the following code:

<img src='http://www.democracyfororegon.org/images/DFO_Flag.jpg'>

Is there something I'm doing wrong with that code? It's driving me crazy and I can't figure out what's wrong. I have a mass mail that should have went out hours ago and I'm about to have to send it out the old way.

--
Jenni S.

Nevermind

jsimonis - July 20, 2005 - 04:23

I need to remember to send the messages to my runbox account and not my usual account. Apparently it's still the problem of messages that are sent to addresses on the same server as phplist not showing the images. The tests I did showed images for everyone else.

--
Jenni S.

Same Server?

jjeff - July 20, 2005 - 12:38

Hmmm.... Interesting.

Like I said, I'm still looking into this so any clues that you can find for the behavior of the problem could be helpful.

Does it matter single/double quotes on the same server? Are both accounts being read by the same mail program? (In other words - could it be your mail reader?)

I'm going to try to research this further sometime this week. I'd like to be armed with as much information about the problem as possible.

Thanks!

--= Jeff Robbins | www.jjeff.com =--

That's Correct

BKWill - July 20, 2005 - 22:11

In my initial attepmt to install the mass mailer module, I did move the phplist to the modules directory. However upon reading the instructions it doesn't say to do that anywhere. I believe it was something that someone else had did in an effort to make it work.

Subscribe pages

mgifford - October 6, 2005 - 19:54

I was looking for a link for the subsciption pages, evenutally found it here:
?q=/massmailer

But the link didn't seem to be there until after I added my first demo list. Thanks for the step-by-step guides.

Mike
--
Mike Gifford, OpenConcept Consulting
Free Software for Social Change -> http://www.openconcept.ca

Does MassMailer support attachments?

andreafiore - October 15, 2005 - 13:06

just a question before I try to install it,
Does MassMailer Support attachments?

Thanks,
_Andrea

Bug in config.php

hjuan99 - October 22, 2005 - 05:34

I installed it following the directions.

It didn't work.

I debugged it for a few hours and found a simple php error on line 62 of the config.php file in the massmailer/engines/phplist folder:

$database_host = $db_info['host'] ':' $db_info['port'];

should be:

$database_host = $db_info['host'] .':'. $db_info['port'];

It's a super simple error that who knows how it got into the config file.

After that I ran it and everything went just as it should have.

Hope this helps someone.

My blog

This bug is now fixed...

Scott - October 27, 2005 - 04:20

in the current download of massmailer.module 4.6.0

Followed this to the letter....

ethank - November 14, 2005 - 21:55

I get this when I press "send messages":

p = processqueue
c = ../../config.php
d = /index.php
h = beta2.murmurs.com

p = processqueue
c = ../../config.php
d = /index.php
h = beta2.murmurs.com

Nothing gets sent.

Has anyone actually gotten

ethank - November 17, 2005 - 08:38

Has anyone actually gotten this hack working or should I just uninstall it?

Error in link to mass-mailer module

m_freeman2004 - November 17, 2005 - 17:01

Hi,

The Howto gives a link to the mass_url module, not massmailer. Thanks for making me even more confused!

;)

Marcus.

excellent instructions

bwv - November 24, 2005 - 11:46

Hello, thank you for taking the time to write out these instructions. I got everything working precisely as you indicated, except I am not receiving any of the test messages I am sending out. I created a list of 7 recipients, but none of them are getting the email. At the same time I am getting no error messsages in watchdog. Do you have any idea what might be going on? Thanks very much for your time.

confirming send problem

mgifford - November 26, 2005 - 14:52

I can confirm this problem with sending messages with both the cvs version of this module from drupal contrib module and the civicspace svn version of this module. Everything else seems to work fine. I'm starting with a CivicSpace install.

Would be great if the logs were being used in this module so that it would be easier to track down where the problems are.

Mike
--
Mike Gifford, OpenConcept Consulting
Free Software for Social Change -> http://www.openconcept.ca

Re: excellent instructions

BKWill - December 5, 2005 - 19:18

I had the same problem before and it was due to the version of phplist that I was using. I installed a new drupal site and used the instructions above except used the latest stable version of phplist. The result was exactly as you have stated. So I went back to an earlier version and it wokred fine. I wasn't excited that I resolved the issue by doing that, but it worked.

I've started using Simplenews, however the cron job function doesn't work very well. I tend to like this module better except that I've ran into some issues with html emails displaying properly.

I'm hoping that 4.7 resolves the issues for both of these modules.

Thanks,

Will

You MUST use the version of PHPList shown above.

cobrasound - January 8, 2006 - 00:59

After using the version of PHPList shown above (2.9.4) everything is working!

 
 

Drupal is a registered trademark of Dries Buytaert.