Need help getting bounce emails out of mailbox
Posted: Fri Jan 14, 2011 11:14 pm
Hello All,
My love hate relation ship with email ended in hate. Every product I tried was too expensive or too complex, or just did not work and crash. I just need a solution to do the most basic task, send an email. Thanks to the SPAMMERs is not that easy anymore. I need to support unsubscribe. After mailchimp decided to close free account because my bounce rate was 10%, I decided I had enough. Using swift I created my own mailer, soon to be release to however wants to use it. I can create list, and campaign, and include a nice unsubscribe page attach to mysql, each email is created indepently so that special unsubscribe list can be created, the program genberates a random code and the code is matched during the unsubscribe. I actually like it more that mailchimp. Ofcourse mailchimp has all the nice graphics.
Anyway to my point. The only thing missing, at least for what I care, Is the ability to removed bounce emails from a pop account. I got a nice little library from php.net and I can actually read all my mail. The problem, I just dont know enough regular expression to get those bounce emails back.
Anyone interested in helping? I need to read a pop account, parse each message, detect what is a bounced email, and return me the email
function getBounceEmail(PopAccountSetting $cn,$delete_bounce = true)
{
//DO THE HARD STUFF,
return $nice_email_array;
}
My love hate relation ship with email ended in hate. Every product I tried was too expensive or too complex, or just did not work and crash. I just need a solution to do the most basic task, send an email. Thanks to the SPAMMERs is not that easy anymore. I need to support unsubscribe. After mailchimp decided to close free account because my bounce rate was 10%, I decided I had enough. Using swift I created my own mailer, soon to be release to however wants to use it. I can create list, and campaign, and include a nice unsubscribe page attach to mysql, each email is created indepently so that special unsubscribe list can be created, the program genberates a random code and the code is matched during the unsubscribe. I actually like it more that mailchimp. Ofcourse mailchimp has all the nice graphics.
Anyway to my point. The only thing missing, at least for what I care, Is the ability to removed bounce emails from a pop account. I got a nice little library from php.net and I can actually read all my mail. The problem, I just dont know enough regular expression to get those bounce emails back.
Anyone interested in helping? I need to read a pop account, parse each message, detect what is a bounced email, and return me the email
function getBounceEmail(PopAccountSetting $cn,$delete_bounce = true)
{
//DO THE HARD STUFF,
return $nice_email_array;
}