this script does not use the PHP mail function to send the email. it is creating a mail file that is placed on the mail server for relay.
I seam to recall that with GoDaddy, they do not support using the php mail() function on windows hosting accounts. They only support the PHP mail() function using a Linux hosting account.
You may be able to have them switch you to a linux hosting account free of charge.