Our social network has a lot of functionality and the first version is almost complete. In order to notify the users about what happens while they are away we will send them e-mails. Specifically, they will receive a welcome e-mail when they create an account and after that they will receive an e-mail each time someone posts a comment on their wall.
By the end of this chapter, you will know how to send e-mails using the ZendMail
components. We will also see how to organize the HTML content of the e-mails, and how to compose them using templates and layouts.