Skip to Content
Building PHP Applications with Symfony™, CakePHP, and Zend® Framework
book

Building PHP Applications with Symfony™, CakePHP, and Zend® Framework

by Bartosz Porebski, Karol Przystalski, Leszek Nowak
March 2011
Intermediate to advanced
561 pages
13h 50m
English
Wrox
Content preview from Building PHP Applications with Symfony™, CakePHP, and Zend® Framework

Chapter 6. Mailing

The more technologically advanced the medium, the more primitive, trivial and useless messages are transmitted through it.

Stanisław Lem

WHAT'S IN THIS CHAPTER?

  • Sending plain text and HTML-formatted e-mail.

  • Including attachments and adding carbon copies.

  • Configuring SMTP servers and setting secure connections.

  • Overview of the most popular mailing engines.

E-mail predates the first web pages and even the Internet itself, and compared to other web technologies, mailing has not changed much over the years. However e-mail is still the backbone of all advanced web services and the Internet could not work without it. Apart from user-to-user communication, mailing is indispensable for creating accounts, reminding users about passwords they've forgotten, sending newsletters, keeping up with newsgroups, and so on.

You can't develop web apps without mailing, and this chapter explains how to do it efficiently and effortlessly. Using the mailing engines presented here is easy and straightforward, so this chapter will be a piece of cake for you — a piece of very nutritious cake, in fact, taking into account how many beneficial uses of mailing there are.

CREATING MAILING APPLICATIONS

Developers need to make sure that e-mail is automated and works as designed. Most of the commonly encountered problems are associated with the following:

  • Establishing connections

  • Sending HTML-formatted e-mail

  • Sending e-mail to multiple receivers

  • Carbon copies

All these problems can be easily solved with mailers. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning PHP Design Patterns

Learning PHP Design Patterns

William Sanders
Clean Code in PHP

Clean Code in PHP

Carsten Windler, Alexandre Daubois

Publisher Resources

ISBN: 9780470887349Purchase book