I'm a newbie in PHP. My goal is to send an email to the user registered in my system.
Here is my code:
$msg= " Hi $gen./$lName, copy and paste this code in order to activate your account copy and paste this code:$num" ; $email = "$emailadd"; $name= "GoodFaith Network Marketing Inc."; $subject = "Account Activation"; $message = wordwrap($msg,70) ; $sender = "[email protected]"; $mail_header="From: ".$name."<". $sender. ">\r\n"; $sendmail=mail($email, $subject,$message, $mail_header ); I was able to send an email, but my problem is I want to know if the user's email address exists in Yahoo, GMail or other mail services.
Is there any way I could filter out invalid emails?