You will notice that the last line sends the user to a thankyou page.
This method has been working fine for at least a year. However, I have noticed that the latest Internet explorer browsers give the following error messages and do not send the user to the thankyou page:
Warning: Failed to Connect in d:\webspace\nalderph\purchase\mailform.php on
Warning: Cannot add header information - headers already sent by (output
started at d:\webspace\nalderph\purchase\mailform.php:31) in
d:\webspace\nalderph\purchase\mailform.php on line 32
I would appreciate it if someone could tell me what the problem is or suggest some alternative code.