Hi, I am pretty new to perl and need some help. I have downloaded an example of sending a Form Data via email. I try to run it but after filling a Form when I click submit button that sends the data to the specified email.

Instead of sending the data after processing the perl file my browsers opens a dialog box asking me if I want to save the Perl file or open it. I don't want this to happen. When I click submit the data is processed by the Perl file and then emailed to specified email address.

I am connected to the Internet and have windows 2000 I also have IIS server installed. So why it's not sending the data through email. I tried the program with ASP and it works. But I need to make it work with CGI/PERL. Is there any settings I have to make I have Perl5.0 installed on my computer.

Please help me solve this problem as I am new to Pearl and trying to learn it.

Thanks for any help.


In reply to Problem in sending Form data via email by hallian92

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.