When I execute the script, I receive this error message:
Application Error
An error has occurred in the program
Can't open mailprog [/usr/lib/sendmail -oi -t]
I use godaddy's virtual dedicated servers, and I think it uses qmail instead of sendmail. So I tried replacing "sendmail" with "qmail", but I still got the same application error.
Any ideas?