ndpcanada, the reason for this may be, the HTML form page don't have the "sender email" address field with name required by the script.

For example, if the script need the senders email address in field name "from", your HTML form page should contain an input field like

Email : <INPUT type="text" name="from">