O'Reilly logo

PHP and MySQL Web Development, Third Edition by Laura Thomson, Luke Welling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 29. Building a Web-Based Email Service

More and more often these days, sites want to offer web-based email to their users. This chapter explains how to implement a web interface to an existing mail server using the PHP IMAP library. You can use it to check your own existing mailbox through a web page or perhaps extend it to support many users for mass web-based email such as Hotmail.

In this project, you build an email client, Warm Mail, that will enable users to

  • Connect to their accounts on POP3 or IMAP mail servers

  • Read mail

  • Send mail

  • Reply to mail messages

  • Forward mail messages

  • Delete mail from their accounts

The Problem

For a user to be able to read his mail, you need to find a way to connect to his mail server. This generally isn't the same ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required