catch UnknownHostExceptions in IpMailer