// Try quoted string format
// Quoted-string characters are: DQUOTE *([FWS] qtext/quoted-pair) [FWS] DQUOTE
// qtext: Non white space controls, and the rest of the US-ASCII characters not
// including "\" or the quote character
$noWsCtl = '\x01-\x08\x0b\x0c\x0e-\x1f\x7f';
$qtext =
$noWsCtl . '\x21\x23-\x5b\x5d-\x7e';
$ws = '\x20\x09';
if (preg_match('/^\x22([' .
$ws .
$qtext . '])*[$ws]?\x22$/',
$this->_localPart
)) { $result = true;
} else { $this->
_error(self::DOT_ATOM
);
$this->
_error(self::QUOTED_STRING
);
$this->
_error(self::INVALID_LOCAL_PART
);
} } return $result;
} /**
* Internal method to validate the servers MX records
*
* @return boolean
*/