Is there any way to check if an email will be bounced back through php? -
i've done research , talks handling bounce based on returned email, question is, possible check if email bounced without going through bounced email?
no, not directly. unless email rejected smtp server php talking (e.g. local sendmail
install), php assume email on way. if email later bounced other mail server (e.g. no such user @ receiving end, mailbox full, etc..), bounce separate email going from:
in original email.
you can connect mailbox php, e.g. |php somescript.php
rule in .forward
file, email coming address gets piped php script, that'll separate script, in no way related script sent original email in first place.
Comments
Post a Comment