I'm having a problem with this form to mail script, and I kept getting Internal Server Errors.
But then using:
Code:
use CGI;
use CGI::Carp qw/fatalsToBrowser/;
I was able to pinpoint the error which is:
Can't find string terminator "HTML" anywhere before EOF at /home/svgcnet/public_html/sc/subnews.cgi line 47.
I've kept trying to tweak the script a bit, but can't figure it. I've had problems like this before and tweaking it a bit helped, but now it doesn't make any sense as to why it won't work.
But another question has arisen. Rather than starta new thread, I'll do it right here since the question deals with the script I attached above. When the mail is sent, it includes the "Submit" field in the e-mail. I'd like to not included that in the printed e-mail. And no matter I try to do, it seems to keep coming up. It will appear or none of the fields appear in the e-mail based on the methods I have tried to prevent it. Also, is there a way to get rid of the "Sender" SendMail field? Because it always keeps coming up as [email protected]. I thought I remembered hearing about a way, but maybe I'm wrong...