diff --git a/include/class.thread.php b/include/class.thread.php
index ee86378e6053030652ef36c07a3e9ddf8f2adc7d..ba9332ae487d638107b7fdef31d824e5bbb16ef9 100644
--- a/include/class.thread.php
+++ b/include/class.thread.php
@@ -533,7 +533,7 @@ Class ThreadEntry {
         // Disambiguate if the user happens also to be a staff member of the
         // system. The current ticket owner should _always_ post messages
         // instead of notes or responses
-        if ($mailinfo['email'] == $ticket->getEmail()) {
+        if (strcasecmp($mailinfo['email'], $ticket->getEmail()) == 0) {
             $vars['message'] = $body;
             return $ticket->postMessage($vars, 'Email');
         }