Home arrow PHP arrow Swift Mailer's Batchsend Method and Other Features

Swift Mailer's Batchsend Method and Other Features

Welcome to the final part of a ten-part series that shows you how to use the Swift Mailer library to build email applications. This final part of the series will explain how to use the batchsend() method, and how to specify the Return-path MIME header within emails.

TABLE OF CONTENTS:
  1. Swift Mailer's Batchsend Method and Other Features
  2. Review the setDisposition() and embed() methods
  3. The batchSend() method
  4. The setReturnPath() method
By: Alejandro Gervasio
Rating: starstarstarstarstar / 2
March 01, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Frankly speaking, building a full-featured email application with PHP has always been a challenging task, even for seasoned developers. The process often demands that developers deal directly with the internals of both the SMTP and POP3 protocols, and it's worse if the application must provide support for IMAP servers.

Of course, there’s no need to reinvent the wheel (or become a mixture of virtual postman and programmer) every time you need to create email programs in PHP. There are many well-trusted libraries available on the web that will do the job for you very efficiently.

One of the most powerful email packages that allows you to send email in a truly straightforward fashion is Swift Mailer, which you can download freely at http://swiftmailer.org. In case you haven’t had the chance to give it a try, this PHP 5-based package will let you send MIME email in all sorts of clever ways, through a cohesive and cleverly designed API that uses a strict object-oriented approach.

Naturally, if you've already read all of the previous articles of the series, then you probably have a solid background in using the most relevant features packaged with Swift Mailer, ranging from working with different SMTP transports and sending email messages in HTML, to using inline attachments.

Nevertheless, there are a few characteristics of the library that deserve a closer look. These include the proper usage of its “batchSend()” method, and its ability to manipulate MIME headers in a truly simple manner.

Ready to tackle this last chapter of the series? Then start reading right now!



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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- 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: