At line 58 there is a check for what I believe should be the mail server address, but is actually looking at the form field "strHomeURL" which does not exist in the form.
Suspect this is meant to be "strMailServer" in both instances on this line.
The error message which the check is for, talks about mail server.