I wrote a mini newsletter sender in CI.I discovered that using SMTP the email will send just find and of reports no error even for a bad address (unless it is local). Not much later a bounce will come back to the inbox.how can one automate the process of getting the bounce and then updating a db saying it bounced. Is the only way to check the mail using POP3 or IMAP? does CI have a mail ‘checking’ class?
Hey there! Great question. I use the php mailer class, which provides much richer functionality. check it out here: http://phpmailer.worxware.com/
You will need to extend the MY_Email class if you wish to use the autoloader function. You can find examples in the codeigniter forums.
More recently, I started using an external SMTP mailer service, which provides the more advanced list management features you are looking for.
the one I use is http://mailjet.com If you combine this with a mailing list, then you can manage bounces through their interface, rather than trying to code it all yourself. plus, you get rich statistics, better email ranking, less spam, etc. Basic plan is free, you can send 6.000 emails a month. Good luck!