In looking to implement bounce detection. It looks like you suggest two methods:
1) Checking SMTP return code
2) Parsing a email sent back to bounce@whatever.com
The latter sounds like a PITA because each different mail server formats the message differently? Can you confirm this? Is this each MTA (Exim, Postfix, sendmail, etc)?
So really, there is a fixed number of replies you can receive? Is this something which could be built into Swift, via plugins or similar? Or would it be considered something entirely separate?
By parsing the email, do you really get more details about the bounce? What If I was just interested in a bounce period could I not just extract the standardized email headers (from, etc)?
My next question: In sending mass customized emails (unique body, subject, etc) how would you suggest utilizing Swift to it's most efficient capability? Do I keep track of the mailing queue using PHP and a cron? I was hoping to just send all the messages to SMTP server and let the MTA worry about messages after that, but it sounds/looks like I will have to manually manage the list keeping track of which email addresses have been sent an email, etc???
Cheers