Mail from cgi

I’ve created a nice survey, part html with a .cgi processor attached, and want to email the results. I work on UNIX, and the sendmail approach works fine. However the guy with the webspace is running Windows.

I’ve looked for some open source mailers, and found one that uses SMTP for the mail, but I’m running in firewall issues here. What makes it harder is that I don’t have direct access to his system, which makes it hard to experiment, and he had to ask support about what his SMTP server was. I know there are survey packages out there, but my form works fine already, and I want to learn this.

Anyone have a pointer to an open source cgi that does this reasonably well? It only has to be marginally documented; I’m reasonably clever with Perl.

Thanks all.

Did you inquire with his host if there are any pre-installed scripts that you can use?

Yes I did. They just gave the SMTP server name. I think this might be a web company that specializes in web hosting for the clueless.

I use AT&T for my ISP at home, and they don’t seem to support cgi for their standard web pages. They do have a forms package, but it would be a major pain to adapt. There are some free survey packages available also, but these have the same problem.

You could possibly use something like Net:SMTP, which acts as an SMTP client that connects directly to an SMTP host.

Thanks! I’ll give that a shot. I tried something like this, but Net:SMTP looks simpler.