diff --git a/include/class.thread.php b/include/class.thread.php
index c31a1915165bfcc2ffc983da3c91083587a7f324..8c923c4823f5c7920f44d8fb9ea769ad08aa98a5 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');
         }