Get Bounced Emails


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /*
  2. php mail() doesnt know about bounced emails simply because it doesnt
  3. >reach it. there's no callback that allows you to register for bounced
  4. >emails. the email is received by your smtp server and is redirected
  5. >to the appropriate account (depending on the configuration)
  6.  
  7. you can get bounces and replies by adding some headers:
  8. */
  9.  
  10.  
  11. $mail_header .= "Return-Receipt-To:\"RETURNRECEIPTyourdomain.org\" \n";
  12. $mail_header .= "Return-Path: \"BOUNCEyourdomain.org\" \n";
  13.  
  14. /*
  15. and then off course read out these addresses!
  16. */

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.