Added mail server validation.