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: <[email protected]>\r\n"); fputs($SMTP,"RCPT TO: <[email protected]>\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:<[email protected]> User unknown 250 RCPT TO:<[email protected]> OK Link to comment https://forums.phpfreaks.com/topic/219144-smtp-problem/ Share on other sites More sharing options...
adv Posted November 19, 2010 Author Share Posted November 19, 2010 anybody please ?!? Link to comment https://forums.phpfreaks.com/topic/219144-smtp-problem/#findComment-1136567 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.