-4

i am building an email system and i'd like to receive a bounce notification if the email bounces and display it in the dashboard. Any ideas on how to acheve this? any email functions i am not aware of? Best

Kevin Reid
  • 37,492
  • 13
  • 80
  • 108
  • 1
    I'm quite sure this is not the right place where to ask this kind of questions. – Alberto Aug 29 '18 at 12:11
  • 2
    Possible duplicate of https://stackoverflow.com/questions/1025424/how-to-write-a-php-script-that-read-bounce-email – misorude Aug 29 '18 at 12:14
  • PHP can not handle this on its own; first of all you would need to configure the local MTA to “forward” such incoming mails to PHP, before it can do anything with them. – misorude Aug 29 '18 at 12:14

1 Answers1

0

You can configure your mail server to capture all bounced emails, for example calling a script on your server which could handle them as you want.

See this answer for a possible resolution in Postfix.

Feel free to add more details and I can clarify my answer more.

fabrik
  • 14,094
  • 8
  • 55
  • 71