forgot to attach the script didn't i. oh well, here it is:

###########<script posted here>#############

#!/usr/bin/perl

use Mail::Sendmail;
use CGI::Carp "fatalsToBrowser";
use CGI;


  %mail = ( To      => '[EMAIL PROTECTED]',
            From    => '[EMAIL PROTECTED]',
            Message => "This is a very short message"
           );


  sendmail(%mail) or warn $Mail::Sendmail::error;


  print "OK. Log says:\n", $Mail::Sendmail::log;

#########</script here>##############

On Wednesday 27 Mar 2002 11:32 pm, Matthew Harrison wrote:
> I have a script that uses Mail::Sendmail. This script (included below)
> does actially work and actually emails the recipient as it should, but it
> gives me compilations errors etc. How can I make the script ignore the
> errors and display some html or can someone tell me how and why these
> error appear.
>
> cheers

-- 
Matthew Harrison
Internet/Network Services Administrator
Peanut-Butter Cheesecake Hosting Services
Genstate
www.peanutbuttercheesecake.co.uk

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

Reply via email to