in reply to Help with SendMail

Did you try like the Doc said?

use Mail::Sendmail; %mail = ( To => 'you@there.com', From => 'me@here.com', Message => "This is a very short message" ); sendmail(%mail) or die $Mail::Sendmail::error; print "OK. Log says:\n", $Mail::Sendmail::log;

I agree with jeffa mime::lite is good!

Update

Okay my execuse is being sick and drugged up. Not a good combo for problem solving. Thanks for spotting that iguaanodon

Replies are listed 'Best First'.
Re: Re: Help with SendMail
by iguanodon (Priest) on Jan 27, 2003 at 02:59 UTC
    Anonymous_Monk isn't using Mail::Sendmail, (s)he is piping output directly to the sendmail program. However, I agree with those who suggest using a module, and I like Mail::Sendmail as well as MIME::Lite.