diff --git a/application/controllers/Inspection.php b/application/controllers/Inspection.php
index 44bf8a0..62cb561 100644
--- a/application/controllers/Inspection.php
+++ b/application/controllers/Inspection.php
@@ -1103,19 +1103,23 @@ public function emailsend() {
//$this->email->bcc('them@their-example.com');
$this->email->subject('Email Test');
$this->email->message('Testing the email class.');
-$this->email->send(FALSE);
+//$this->email->send(FALSE);
// Will only print the email headers, excluding the message subject and body
-$this->email->print_debugger();
+//$this->email->print_debugger();
-if ($this->email->send()) {
- echo "ok";
-
-} else {
- echo "nok";
-}
+//if ($this->email->send()) {
+// echo "ok";
+//} else {
+// echo "nok";
+//}
+$fp = fsockopen($config['smtp_host'], 25, $errno1, $errstr1, 30);
+echo "25 ".$errno1." ".$errstr1."
";
+$fp = fsockopen($config['smtp_host'], 587, $errno2, $errstr2, 30);
+echo "587 ".$errno2." ".$errstr2."
";
+
}