I’m trying to use a perl form processing program on a windows server which uses sendmail.exe to email the form contents. What (if there is one) is the location of the sendmail file?
I know there are other options out there; but I’m trying to learn perl with this form handler and would like to get it to work without having to start up a unix/linux server.
The error I’m getting is:
c:/inetpub/scripts/sendmail.exe: Bad file descriptor
Thanks
You must use SMTP to send via perl on windows.
Thanks for the response. I’m too ignorant at this time to make sense of it though.
I can go into the mail_form.pl file and change which program is called up to run. Currently it is trying to call the sendmail.exe program. Is there some file/location that I should replace that with to use this “SMTP”?
nms-cgi Formmail is a very popular CGI/perl form mail scripts, this is part of their FAQ, you may want to look into this script if yours is not windows compatible:
http://nms-cgi.sourceforge.net/faq_prob.html#But_I_don_t_have_code_sendmail_code_on_my_web_server_what_can_I_do
Thanks for the help Stephen…
I’ve decided to shift to a UNIX server to test this stuff out.