On 21 Aug 2002 22:22:48 -0000, [EMAIL PROTECTED] (Beans) wrote:

>Hello,
>
>i'm trying to get a perl script to send mail through Mail::Sendmail and
>it's not working.

>Maybe there's a really simple solution to this...any help would be greatly
>appreciated. I'm very new to all this and i have been looking for a
>solution for days wilth no success. 

>Apache error log: 
>[Wed Aug 21 16:38:05 2002] [error] Premature end of script headers:
>c:/apache/cgi-bin/testmail.pl 
>
>testmail.pl script: 
>!c:/perl/bin/perl -w
>#testmail.pl - Send mail using Mail::Sendmail module 

Well your shebang line is missing, that is one simple problem.
#!



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to