Home arrow PHP arrow Using Swift Mailer's Cc MIME Header

Using Swift Mailer's Cc MIME Header

In this fourth part of a series, you will learn how easy it is to send carbon copies of an email message with the Swift Mailer library. The secret is the use of its setCc() method.

TABLE OF CONTENTS:
  1. Using Swift Mailer's Cc MIME Header
  2. Review: handling different SMTP transports with Swift Mailer
  3. Creating complex email messages with the setCc() method
  4. Completing the previous email script
By: Alejandro Gervasio
Rating: starstarstarstarstar / 1
February 17, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

If you’re a PHP developer who’s searching for a comprehensive guide that teaches you how to take advantage of the most important features provided by the popular Swift Mailer library, then you’ve come to the right place.

Welcome to the fourth part of a series that introduces you to Swift Mailer. Made up of ten tutorials, this series shows you how to put this powerful PHP 5-based package to work for you quickly, so you can start developing full-featured email applications in a truly painless way.

And now that you know what to expect from this group of articles, it’s time to review the topics that were discussed previously, in case you haven’t read the last article. In that piece, I demonstrated how flexible the Swift Mailer library can be when it comes to sending email messages using different SMTP transports. I coded a couple of scripts that first showed how to perform this process by utilizing the “sendmail” Unix program, and then by means of the “mail()” PHP native function.

Undeniably, having at your disposal a great variety of mailer transports to use speaks for itself about the versatility of Swift Mailer. However, the actual fun begins when exploring its capabilities for manipulating email headers, attachments and multiple message formats.

So, in this part of the series I’m going to discuss how to use the library for dispatching email messages with a carbon copy, or in other words, how to configure Swift Mailer to send a “Cc” MIME header.

As you’ll see in a few moments, this process will be extremely easy to grasp. It will be accomplished through an intuitive API. So let's start learning how to send blind email copies of a message with Swift Mailer right now!



 
 
>>> More PHP Articles          >>> More By Alejandro Gervasio
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap

Dev Shed Tutorial Topics: