Chapter 10. Email

This chapter covers
  • Introducing Zend_Mail
  • Sending emails using sendmail and SMTP
  • Integrating Zend_Mail into a Zend Framework application
  • Creating HTML emails
  • Reading email

PHP has a reasonably diverse range of functions for dealing with mail, from its mail() function, which most PHP programmers of any level will be familiar with, to its IMAP, POP3, and NNTP functions. Unfortunately, the latter need to be specifically compiled into the PHP installation, which means they may not be available for some users. In contrast, Zend_Mail is a fairly complete mail implementation that does not require any specific PHP configuration aside from the general requirements of Zend Framework itself.

We’ll start this chapter with general information ...

Get Zend Framework in Action 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.