OK, my domain has finally transferred, so, I can test this for real now.
When I click on my form's "submit" button, I get a web page that says:
502 Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server.
Web Server at cometsoftware.com
The "Address" box in my browser has:http://www.cometsoftware.com/cgi-bin/x123.pl
I have gone back and read over this thread and the "Can't quite figure out FormMail", and, I still can't get it to work (and, I'm not sure how this thread originator resolved his error). So, let me review what I have and what I have done.
I am a new domain at Lunarpages on a Windows server. My script is named "x123.pl" and was transferred via FTP "ASCII" to my domain's "cgi-bin" folder. Perl is enabled for my domain. These lines are in the configuration portion of the script:
shebang = #!C:/perl/bin/perl.exe
$mailprog = 'SMTP:cometsoftware.com';
These lines are in my html file:
<form name="contact_us" id="contact_us" method="post" action="/cgi-bin/x123.pl">
<input type="hidden" name="subject" value="Contact Us" />
<input type="hidden" name="required" value="realname,email,yourcomment" />
<input type="hidden" name="redirect" value="contact_us_success.htm" />
All of the "help" I have found for setting file permissions in Plesk seem to be referring to an older version than the one I am using. So, I don't know what the script's permissions are, or are supposed to be, for the "Group or user names" panel.
I don't know where to go from here