Nothing to do with the file this.
Contact your forum host as the PHP mail function is either not enabled or not allowed. Or has not been configured for your account.
Your alternative will be to set up forum mail using a valid smtp mail account...
Hope this helps,
Des. . .