Home / Programming / php / How can I get bounced emails from my email CGI or PHP script?
How can I get bounced emails from my email CGI or PHP script?
Last updated: 06/30/2009
It seems that most cgi / php
scripts that send email do not get bounces. So you never know if the email address was legitimate or not. This is especially problematic when sending automated newsletter emails or updates. Ideally, you want bad addresses to bounce back so you can remove them from your list. Here's what I found out after some research.
The short answer is that you need to add this to the email headers: