in reply to Re: Simple Email Script
in thread Simple Email Script

Don't half-use CGI. Go all the way:   print CGI::redirect($ok_url);