diff --git a/include/class.thread.php b/include/class.thread.php
index c31a1915165bfcc2ffc983da3c91083587a7f324..ee86378e6053030652ef36c07a3e9ddf8f2adc7d 100644
--- a/include/class.thread.php
+++ b/include/class.thread.php
@@ -544,7 +544,7 @@ Class ThreadEntry {
             $vars['note'] = $body;
             return $ticket->postNote($vars, $errors, $poster);
         }
-        elseif (Email::lookupByEmail($mailinfo['email'])) {
+        elseif (Email::getIdByEmail($mailinfo['email'])) {
             // Don't process the email -- it came FROM this system
             return true;
         }