check_if_login_exists.php 364 B

1234567891011121314151617
  1. #!/usr/bin/php
  2. <?php
  3. require('smtp-validate-email/smtp-validate-email.php');
  4. $from = 'test@imperium.mephi.ru'; // for SMTP FROM:<> command
  5. $email = $argv[1].'@campus.mephi.ru';
  6. //'campus-guard0@campus.mephi.ru';
  7. $validator = new SMTP_Validate_Email($email, $from);
  8. //$validator->debug=true;
  9. $smtp_results = $validator->validate();
  10. var_dump($smtp_results);
  11. ?>