Obviously I have come to the right place. This hand rolled script was working fine until I changed a client's site from a single page presentation to a <frameset>. (I'm not looking for a lecture; it just gives him the presentation he wants.) Now his "Contact Us" form fields are parsed with this particular script:
#!/usr/bin/perl -w use strict; use warnings; use CGI; my $query = new CGI; print "Content-type:text/html\n\n"; my $to='clients email'; my $from='clients email'; my $subject='Contact Request'; my $name = $query->param('name'); my $email = $query->param('email'); my $address1 = $query->param('address1'); my $address2 = $query->param('address2'); my $city = $query->param('city'); my $state = $query->param('state'); my $zip = $query->param('zip'); my $country = $query->param('country'); my $homephone = $query->param('homephone'); my $workphone = $query->param('workphone'); my $business = $query->param('business'); my $goals = $query->param('goals'); my $comments = $query->param('comments'); open(MAIL, "|/usr/sbin/sendmail -t"); print MAIL "To: $to\n"; print MAIL "From: $from\n"; print MAIL "Subject: $subject\n\n"; print MAIL "Name: $name\n"; print MAIL "EMail: $email\n"; print MAIL "Address_line_1: $address1\n"; print MAIL "Address_line_2: $address2\n"; print MAIL "City: $city\n"; print MAIL "State: $state\n"; print MAIL "Zip: $zip\n"; print MAIL "Country: $country\n"; print MAIL "Home_Phone: $homephone\n"; print MAIL "Work_Phone: $workphone\n"; print MAIL "Type_of_Business: $business\n"; print MAIL "Goals: $goals\n"; print MAIL "Comments: $comments\n"; close(MAIL); print "<html><head><title>Client's Site</title> <link href=http://clients URL CSS/css/shell3.css rel=stylesheet type=t +ext/css> </head>\n<body>\n"; print "<HR size=2>"; print "<CENTER><H1><U>Message Received!!!</U><P> YOUR business is VERY important to Us! <U>We will respond as soon as w +e can.</U></H1></CENTER>"; print "<P>"; print "<center><a href=http://clientsURL/index.html><I>PRO WEB Design< +/I> Home Page</a></center>"; print "<hr size=2>"; print "</body></html>";
I've run it through my trusty copy of Perl Edit and it says the syntax is fine; no errors generated. BUT when I run this form from his site, it doesn't send the information into his email box like it had previously done before.
Also, the user's input is sent via ssl. Any suggestions...Forgive for takinkg to Send Mail directly. Sincerely Trying but Lost!

In reply to Hand Rolled CGI by Lost

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.