Chapter 19. Managing a Simple Mailing List

This chapter provides the first of several hands-on, small projects designed to pull together your PHP and MySQL knowledge. In this chapter, you’ll learn the methods for creating a managed distribution list that you can use to send out newsletters or anything else you want to send to a list of email addresses in a database.

The mailing mechanism you’ll use in this chapter is not meant to be a replacement for mailing list software, which is specifically designed for bulk messages. You should use the type of system you’ll build in this lesson only for small lists, fewer than a few hundred email addresses.

In this chapter, you will learn

  • How to create a subscribe/unsubscribe form and script

  • How to create a front ...

Get Sams Teach Yourself PHP, MySQL and Apache All in One, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.