mail script in perl instead of using sendmail
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 = 'email@example.com';
ps: 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:
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Last edited by tasneem; 03-09-2006 at 06:43 PM.
perl module for sending email
I have downloaded the code, will check it out and post here.
Hope the code is working fine for you
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)