adv Posted November 19, 2010 Share Posted November 19, 2010 <?php $SMTP = fsockopen("smtp.libero.it", 25); $InputBuffer = fgets($SMTP, 1024); fputs($SMTP, "HELO hello\r\n"); fputs($SMTP, "MAIL From: <testing@libero.it>\r\n"); fputs($SMTP,"RCPT TO: <testinggs@libero.it>\r\n"); $InputBuffer = fgets($SMTP, 1024); echo $InputBuffer; ?> how do i get the server/smtp response to show if the email is valid or not? 550 RCPT TO:<testinggs@libero.it> User unknown 250 RCPT TO:<good@libero.it> OK Quote Link to comment Share on other sites More sharing options...
adv Posted November 19, 2010 Author Share Posted November 19, 2010 anybody please ?!? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.