in reply to Re: Passing variable to an email message.
in thread Passing variable to an email message.

Please advise what to copy and paste in the Sendmail page listed.
  • Comment on Re: Re: Passing variable to an email message.

Replies are listed 'Best First'.
Re: Re: Re: Passing variable to an email message.
by adamcrussell (Hermit) on May 09, 2002 at 16:48 UTC
    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;