HomePHP Working with the Email Class in Code Igniter
Working with the Email Class in Code Igniter
Unless you’ve already built a PHP toolkit that lets you develop web applications by reusing its components, the best way to create complex PHP programs quickly is by means of a third-party framework, such as Code Igniter (http://codegniter.com). This package will let you build robust object-based PHP applications in literally minutes, thanks to its extremely friendly interface. So, if you’re interested in learning how to put this framework to work for you, start reading this article now!
Welcome to the eighth part of the series titled “Introducing the Code Igniter PHP Framework.” Comprised of nine comprehensive tutorials, this group of articles walks you through learning the main features that come packaged with this PHP-4 based software, and also teaches you how to develop diverse web applications by using the Model-View-Controller approach.
Now that you've been introduced to the main subject of the series, it’s time to recapitulate very quickly the topics discussed in the last article. As you’ll possibly remember, in that article I explained how to use the database class that comes bundled with Code Igniter to perform database insertions, updates and deletions via the active record pattern.
In that particular case, all these database-related operations were accomplished without having to code explicitly any SQL statements, which makes web applications more compact and maintainable.
However, Code Igniter comes equipped with so many other useful features, that covering all of them by a few articles is practically impossible. Even so, in this eight chapter of the series, I’ll be providing you with a quick overview on working with its email class, in this manner you can start using it when developing your own PHP applications.
Now, it’s time to continue this educational journey and learn how to send email with Code Igniter. Let’s jump in!