--- class.phpmailer.php	2010-08-05 12:30:13.000000000 -0300
+++ /var/www/mantisbt-1.2.2/library/phpmailer/class.phpmailer.php	2010-07-29 13:45:22.000000000 -0300
@@ -522,7 +522,7 @@
    */
   public static function ValidateAddress($address) {
     if (function_exists('filter_var')) { //Introduced in PHP 5.2
-      if(this-Mailer != 'mail' && filter_var($address, FILTER_VALIDATE_EMAIL) === FALSE) {
+      if(filter_var($address, FILTER_VALIDATE_EMAIL) === FALSE) {
         return false;
       } else {
         return true;
@@ -2317,4 +2317,4 @@
     return $errorMsg;
   }
 }
-?>
+?>
\ No newline at end of file
