Something went wrong: the server returned an invalid error after custom mail server setting

Try to look to following posts: