Simple PHP Mailing List

This is a little script that I put together, somewhat out of frustration. I couldn’t find anything that came close to doing what I wanted. This script is meant to be as simple as possible so that it is very easy to integrate into your website however you want.

Here are a few of it’s features:

  • You can completely configure it to use your smtp server. This includes authentification and port settings. It also supports sendmail because it directly uses phpmailer.
  • Callback functionality provides an easy, clean integration to your site
  • Subscribers can easily unsubscribe
  • No database needed! Uses a simple CSV file for data storage.
  • Easy to send messages right from your browser

Download Simple PHP Mail List from Sourceforge

Also, take a look at my original blog entry.

Advertisements

4 Responses to Simple PHP Mailing List

  1. Tim says:

    Heya,

    This looks like a pretty good solution for me… I’ve just gotta ask a question about replies… I’ve got about 15,000 names on file already (A fan base!), but a lot of them are going to bounce… How does the script handle this? I guess it doesn’t right?

    Much appreciated,
    Tim

  2. Jason says:

    Hi Tim,

    Your assumption is correct; the script does not handle bounces. I would say that the number of names you have is really pushing the limits of what the script was designed to do. Although, I’m glad to hear it does work at such a high number. If you expect your list to continue to grow, I would begin investigating something more sophisticated.

    I would suspect you will also have problems sending out an email using the built-in mailer. It attempts to add all of the addresses to the BCC field. Your mail server will probably not allow 15,000 addresses in the message. You may need to find another mailer application.

    On the bright side, all the information is stored in a simple CSV file that you can easily import into another program.

    Thanks,
    — Jason

  3. Don says:

    I have been looking for something simple like this to use. I am trying this out on a Windows hosted web server, so the .htaccess file doesn’t work. I am using a random file name to store the email addresses, but do you have any other suggestions? The hosting provider doesn’t provide any way to lock down a directory or anything.

    I am also having a hard time getting the sample ‘sendmessage.php’ file to work. The ‘maillist.php’ works fine, as well as the test code in the phpmailer directory. I am not a php programmer so I’m fumbling around. It seems to be in the are of the code where the e-mail addresses are added via the AddBCC method.

    Also, take a look at this PHP blog project: http://www.simplephpblog.com/index.php

    They also use flat files. Maybe you could get your mail list program included into this.

    Thanks, Don

  4. Nemo says:

    Hello,
    I am trying your mailling list …
    It is simple and functional !
    Good Job!

    Just for you informations, ‘SCRIPT_URL’ is empty on my WinXp,apache 2.2.4,PHP5.2.0 ..I have chanded to ‘PHP_SELF’.

    Regards,
    Nemo

Comments are closed.