www.webdeveloper.com
Results 1 to 4 of 4

Thread: mail script in perl instead of using sendmail

  1. #1
    Join Date
    Dec 2002
    Posts
    213

    mail script in perl instead of using sendmail

    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:
    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';
    Thanks

    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:
    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers.

    Thanks again.
    Last edited by tasneem; 03-09-2006 at 06:43 PM.

  2. #2
    Join Date
    May 2004
    Location
    chennai, tamil nadu, India
    Posts
    437

    Post perl module for sending email

    One way is to use this perl module

    http://www.tneoh.zoneit.com/perl/SendMail/

  3. #3
    Join Date
    Dec 2002
    Posts
    213
    Hi
    I have downloaded the code, will check it out and post here.
    thanks

  4. #4
    Join Date
    May 2004
    Location
    chennai, tamil nadu, India
    Posts
    437
    Hope the code is working fine for you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles