my $emailTo = 'Customer Service '; my $emailFrom = FilterCChars($FTGEmail); open(MAIL,"|$mailProg"); print MAIL "To: $emailTo\n"; print MAIL 'Cc: Frank Simmons ’ . "\n"; print MAIL "From: $emailFrom\n"; print MAIL "Subject: $emailSubject\n"; print MAIL "Content-Type: text/plain; charset=\"UTF-8\"\n"; print MAIL "Content-Transfer-Encoding: 8bit\n"; print MAIL "\n"; print MAIL $emailBody; close(MAIL); # Redirect user to success page print "Location: /thankyou.html\n\n"; exit;