I fixed it. I just changed the 37th brace to a bracket in mail.pl
In reply to Re^3: Missing bracket? by BrowserUk in thread Missing bracket? by Anonymous Monk