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.

  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



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
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- 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...

Developer Shed Affiliates


Dev Shed Tutorial Topics: