that function is defined in the webassist/security_assist/mail_php.php
the error suggests that that file is not uploaded. make sure to upload the entire webassist/security_assist/ folder to the server.
NOTE: instead of pasting the page code to your message, please compress the page to a zip file and attach the zip file.