Hello,
Rename your script to have a .cgi extension.
Also see Node #687731.
Regards,
In reply to Re: Perl Mailer by trwww in thread Perl Mailer by Six