ValidMail::hasDNS() needs a combined check of "MX" and "ANY" to avoid bad DNS-server caching.
Added ValidMail::hasDNS()
add validation for uploaded files