Salve a tutti.
Ho uno script per l'invio di newsletter "decente" (nel senso che funziona, credo) fatto da me che mi gestisce una lista di 36000 iscritti.
Ora, so che le email vengono spedite, ma ho la necessità di filtrare quelle:
non_valide
non_esistenti
quelle_con_mail_quota_exceded
ecc..ecc...
Avrei bisogno quindi di gestire i Bounce.
Da qualche parte ho trovato questo:
Il punto 3 mi è ostico.How to detect a bounce email
1. make sure the email you send out have the header
"Return-Path: detect-bounce@yourdomain.com\r\n",
&
"Return-Receipt-To: bounce@yourdomain.com\r\n"
2. setup this detect-bounce mail account at your mail server
3. redirect the incoming mail from this email account to your php script (check your mail server doc on how do this)
4. your php script will then be able to process the incoming email in whatever way you like, including to detect bounce mail message (use regexp search).
Note that the mail will be not be store after the mail server has redirect to your script. If you want to store it, you need additional code in your script
Qualcuno ha avuto a che fare con questa problematica?3. redirect the incoming mail from this email account to your php script (check your mail server doc on how do this)
Ci sono eventualmente script php che gestiscono i bounce?
Fatemi sapere!
![]()