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

Sending system messages as HTML instead of text


While phpList allows you to send beautifully formatted HTML messages, its own system messages (confirmation request, unsubscription notification, and so on) are sent in plain-old-boring-text.

This hack allows you to enter HTML in your system messages and have them delivered in multipart HTML-and-text.

Code changes

The following pages detail all the code changes required for this hack. A patch file is included with this book, as well as a readme file that explains how to apply it.

The following pages detail the code changes that are required, step-by-step.

Creating the plain-text part of the message by stripping out the HTML

You'll customize your system message to include HTML code. Unlike the message composition interface, phpList doesn't give us the option to define separate HTML and text parts to our system messages, so we'll have to create the text version by stripping out all of the HTML code, but still preserving any hyperlinks.

Open admin...