Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. if (isset ($name)) {
  2. $name = substr($name,0,20);
  3. if (empty($name)){
  4. echo "<center><b>error<p>";
  5. exit;
  6. }
  7. } else {$name = "error";}
  8.  
  9. if (isset ($email)) {
  10. $email = substr($email,0,20);
  11. if (empty($email)) {
  12. echo "<center><b>error<p>";
  13. exit;
  14. }
  15. } else {$email = "error";}
  16.  
  17. if (isset ($mess)) {
  18. $mess = substr($mess,0,1000);
  19. if (empty($mess))
  20. {
  21. echo "<center><b>error<p>";
  22. exit;
  23. }
  24. } else {$mess = "error";}
  25.  
  26. $i = "error";
  27.  
  28. if ($email == $i AND $mess == $i) {
  29. echo "error";
  30. exit;
  31. }
  32.  
  33. $to = "my email";
  34. $subject = "Letter from mywebsite";
  35. $message = "$name;$email;$mess;$REMOTE_ADDR";
  36. mail ($to,$subject,$message) or print "error";
  37. exit;
  38. ?>
  39.  
  40. SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "220 TAG.Hosting mail service. "SMTP -> get_lines(): $data is "220 TAG.Hosting mail service. "SMTP -> FROM SERVER:220 TAG.Hosting mail service. CLIENT -> SMTP: EHLO www.mlmtechnology.ru SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] "SMTP -> get_lines(): $data is "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] "SMTP -> get_lines(): $data was "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] "SMTP -> get_lines(): $str is "250-SIZE 104857600 "SMTP -> get_lines(): $data is "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 "SMTP -> get_lines(): $data was "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 "SMTP -> get_lines(): $str is "250-PIPELINING "SMTP -> get_lines(): $data is "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 250-PIPELINING "SMTP -> get_lines(): $data was "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 250-PIPELINING "SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN "SMTP -> get_lines(): $data is "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 250-PIPELINING 250-AUTH PLAIN LOGIN "SMTP -> get_lines(): $data was "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 250-PIPELINING 250-AUTH PLAIN LOGIN "SMTP -> get_lines(): $str is "250 HELP "SMTP -> get_lines(): $data is "250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 250-PIPELINING 250-AUTH PLAIN LOGIN 250 HELP "SMTP -> FROM SERVER:250-gamma.tagtech.ru Hello www.mlmtechnology.ru [83.166.99.194] 250-SIZE 104857600 250-PIPELINING 250-AUTH PLAIN LOGIN 250 HELP CLIENT -> SMTP: MAIL FROM: SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "250 OK "SMTP -> get_lines(): $data is "250 OK "SMTP -> FROM SERVER:250 OK CLIENT -> SMTP: RCPT TO: SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "550-Verification failed for "SMTP -> get_lines(): $data is "550-Verification failed for "SMTP -> get_lines(): $data was "550-Verification failed for "SMTP -> get_lines(): $str is "550-Unknown user "SMTP -> get_lines(): $data is "550-Verification failed for 550-Unknown user "SMTP -> get_lines(): $data was "550-Verification failed for 550-Unknown user "SMTP -> get_lines(): $str is "550 Sender verify failed "SMTP -> get_lines(): $data is "550-Verification failed for 550-Unknown user 550 Sender verify failed "SMTP -> FROM SERVER:550-Verification failed for 550-Unknown user 550 Sender verify failed SMTP -> ERROR: RCPT TO command failed: 550-Verification failed for 550-Unknown user 550 Sender verify failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement