dzigner
09 Mar 2006, 06:41 PM
Hello
I have a perl script which uses sendmail to send a form to email. Since I have windows hosting, and dont have Sendmail program, I want to use alternate SMTP way to send it. Can some one help me? Here is the code:
# Location of the sendmail program
$sendmail = '/usr/bin/sendmail'; ---- this I have to change to what?
# Your e-mail address here
$myemail = 'myemail@mydomain.com';
Please look at http://pixelbiz.des-us.com/userpages, where I have put up the script. I get this error on clicking on new page:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Thanks
I have a perl script which uses sendmail to send a form to email. Since I have windows hosting, and dont have Sendmail program, I want to use alternate SMTP way to send it. Can some one help me? Here is the code:
# Location of the sendmail program
$sendmail = '/usr/bin/sendmail'; ---- this I have to change to what?
# Your e-mail address here
$myemail = 'myemail@mydomain.com';
Please look at http://pixelbiz.des-us.com/userpages, where I have put up the script. I get this error on clicking on new page:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Thanks