title: codeigniter mail vs swiftmailer for bulk email
body: <p>i have an old system and a new one, which i'm developing:</p>
  
  <p>in the old system i used crontab and swiftmailer to send a newsletter. i've written a PHP script that reads the mailing list from the database and sends emails to the entire list using swiftmailer+smtp with delays between each group of emails to make sure i'm not overloading the server (swift mailer has this under Swift_Plugins_AntiFloodPlugin).</p>
  
  <p>also i've written another script that would scan the address i've sending from for incoming emails, find failure notifications etc and match addresses to clear the database from emails that are not active (ie if you send an email to an address that does not exist, you receive a mail with an error message, i fetched the address from the content and removed it from the database).</p>
  
  <p>this method served over 40K emails on a daily basis. worked like a charm.</p>
  
  <p>in the new system which i'm writing, i'm using code igniter. the built in mail feature for code igniter seems to do the work fine, only 1 thing is missing: is it possible to add delays between sends?</p>
  
  <p>i know it's simple to add the swiftMailer library to my CI project, but before i do that, can this be done using CI mail func. alone? are there any other advantages for adding swift mailer in this case?</p>
  
  <p>I know many people will advise using something which is built for bulk email, but PHP CLI is just like any other programming language in this case (i'm aware of mailman, majordomo, and services like mailchip. i can do multithreading in php with sysdaemons and mod_fork etc when needed, but that's irrelevant for the question).</p>
  
  <p>EDIT:</p>
  
  <p><strong>SOLVED</strong></p>
  
  <p>even though i already added the swift mailer (which took a few minutes), <a href="http://getsparks.org/packages/PersonalizedMailer/versions/HEAD/show" rel="nofollow">Sparks</a> suggested by @JaredFarrish seems to be the solution, since it's designed for CI.</p>