php - email delivery gets blocked if any one recipient email fromat is incorrect -


i facing problem mail delivery. project based on php application. using smtp send mails . group mail sent email tool. if chance 1 of email address format withing recipient group incorrect (ex dora@yahoo) , email fails delivered.

what blocking email? due php inbuilt mail function? or smtp blocks it?

please me guys solve issue.

first off, question vague. assume not error message when script executes. here how handle this:

  • first thing make sure error handling set display errors.

  • reproduce error -> run script, if possible command-line php -f scriptname.php , send malformatted emails.

  • either fix script inline, or possibly better, ensure emails reach reach script have been validated. there many php tools available this.

if need quick fix, php's native filter_var of help.

  • last not least, consider keeping 'testscript' available reproduces steps did above. not want go through every time thing chokes, , hero the great rms once said, if job worth doing once worth doing tool job you.

good-luck!


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -