How To Throw Error when mail is not sending using php
for e.g suppose i m trying to send mail to not exist email address something like email@example.com or any other than it should throw a error like mail is not sending to this recipient. means throw a error when we trying to send mail to not exist email address in that perticular domain. in the above case yahoo.com domain have to check whether firstname.lastname@example.org exsit. if exist than mail is working fine but if not exist that email address into yahoo than it should be thrown a error.