Book Image

phpList 2 E-mail Campaign Manager

Book Image

phpList 2 E-mail Campaign Manager

Overview of this book

Tired of an e-mail BCC list that scrolls off the page, or fiddly and hard-to-manage bulk mailing systems? You need phpList – a high-powered, robust, feature-packed mailing system that will get out of your way and get the job done! You want to know more about phpList? phpList is a popular open source e-mail campaign manager, sporting a powerful web frontend, rich message editor, and an advanced feature set. phpList 2 E-mail Campaign Manager will guide you from basic installation and setup through management, reporting, and automation of phpList, the world's most popular open source e-mail campaign manager. It also covers advanced customization and configuration of phpList. We start with a basic configuration, and finish with a full-featured e-mail management engine. You will work your way up from basic installation to advanced topics such as bounce automation, user and click-through tracking, and integration with third-party tools such as WordPress, Joomla!, Drupal, and Blogger. Advanced topics such as securing your installation against spammers, attacks, and vulnerabilities are covered, as well as additional advanced and experimental features offered by phpList. This book is an invaluable guide for any e-mail publisher who wants a robust and powerful engine to manage their small-to-huge e-mail distribution empire.
Table of Contents (18 chapters)
phpList 2 E-mail Campaign Manager
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Testing e-mail delivery


While we'll cover subscribe pages, bounce handling, and e-mail personalization in subsequent chapters, let's send ourselves a test message to ensure that we're complete with our basic setup.

Create user

As we don't have subscribe pages for automatic user creation (and as we're the administrator anyway), let's add a sample user:

  1. 1.Click on the users link in the navigation panel to go to the users administration page:

  2. 2. Here we see that we currently have zero users. Click on add a user:

  3. 3. To add a new user, complete at least the following fields:

    • Email (the user's e-mail address)

    • Is this user confirmed (set to 1 to create this user as confirmed, opted-in)

    • Mailinglist Membership (check the test list so that we can send e-mails to this user)

  4. 4. You can also complete the following optional fields:

    • Send this user HTML emails (set to 1 to enable HTML for this user)

    • Country (one of the country attributes we imported earlier)

  5. 5. Click on Save Changes to apply.

On saving, the page will refresh, with the user's details permanently on the page, as well as some additional administration links (unsubscribe, history, and so on). Click on back to the list of users to return to the user list:

The user list now shows that we have a single confirmed user, who's subscribed to one list.

Click on the send a message link in the right-hand navigation panel to send your first message:

Sending a message

To send the most basic of messages:

  1. 1. Enter a subject, and some content in the WYSIWYG editor:

  2. 2. Next, click on Save Changes at the very bottom of the page.

  3. 3. The page will be refreshed, with your message saved in a draft state. Now click the Lists tab to choose which lists this message will be sent to:

  4. 4. Choose the test list and then click on Send Message to the Selected Mailinglists to add this message to the queue:

  5. 5. phpList will confirm that the message has been queued and offers you the option to manually process the queue. Click on the process the message queue link to process the queue:

Processing the message queue (in test mode)

Because we haven't yet disabled test mode, no actual e-mail will be sent. phpList will make us aware of this in big, bold, red text. However, this does afford us the opportunity to check that everything else is working as expected:

Disabling test mode

Now that we're confident that we've completed the initial setup correctly, let's disable the test mode, so that we can do a real e-mail delivery.

To disable the test mode, edit config/config.php on line #191 and change this line:

define ("TEST",1);

To:

define ("TEST",0);

Save the file and click on process queue again to send the e-mail for real.

Processing the message queue (for real)

Once you have clicked on process queue again, your message will be processed for real. The test subscriber will receive their message and the list admin will receive a delivery report:

Summary

In this chapter, you've learned about how to install and configure phpList, as well as some basic administration tasks, including:

  • Installing phpList files and database

  • Making configuration changes

  • Basic configuration of lists, users, and attributes

  • Sending your first message

In the next chapter, we'll talk about enabling users to subscribe to your lists using subscribe pages and attributes.