public function setValidateMx($mx)
    {
        if ((bool) $mx && !$this->validateMxSupported()) {

            throw new Zend_Validate_Exception('MX checking not available on this system');
        }

        $this->_options['mx'] = (bool) $mx;
        return $this;
    }
public function setValidateMx($mx)
    {
        if ((bool) $mx && !$this->validateMxSupported()) {

            throw new Zend_Validate_Exception('MX checking not available on this system');
        }

        $this->_options['mx'] = (bool) $mx;
        return $this;
    }
public function setValidateMx ( $ mx ) { if ( ( bool ) $ mx && ! $ this -> validateMxSupported ( ) ) { throw new Zend_Validate_Exception ( 'MX checking not available on this system' ) ; } $ this -> _options [ 'mx' ] = ( bool ) $ mx ; return $ this ; }
Set whether we check for a valid MX record via DNS

This only applies when DNS hostnames are validated

@param boolean $mx Set allowed to true to validate for MX records, and false to not validate them
@return Zend_Validate_EmailAddress Fluid Interface
Set whether we check for a valid MX record via DNS