Emailing Test Results
December 12, 2006 12:00 AM
The problem of why you can't email results is even more severe than you might imagine. It is due to two things....first, email may not be configured on the client's machine. If there is no email, how is the machine to know how to email. If you can't guarantee the configuration of user machines you can't guarantee results will email. Secondly, if the client machine is setup to use a different smtp server you are out of luck. I believe that is what almtlm was referring to on the firewall issue.The best way to solve this problem is to have the data write out to a cgi script and then have the cgi script email it to you. I wrote such a script and it is posted here somewhere. I can find it if you want, but do a search on tekprof and you should be able to find it. It was written around a year ago. The cgi script I presented works on a Windows 2000, or 2003 server running IIS5 or IIS6. It was written in ASP. You need smtp services set on the server to email out from the server with relaying blocked. There are probably other people here who can give you code in PHP in case you are running your course on a Unix server.
Discussions have been disabled for this post