sure...

use Mail::Sendmail;

%mail = ( To => '[EMAIL PROTECTED]',

From => '[EMAIL PROTECTED]',

Subject =>'subject',

Message => "This is a very short message"

);

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

I believe I have it right... You have to modify (I think) the sendmail.pm to your email server...

 

billy

 

----- Original Message -----
From: Adam Hanel
Sent: Monday, May 20, 2002 10:06 AM
Subject: [sambar] cgi email {01}

Has any one developed a cgi form that will send email? 

I�ve done it with Apache on UNIX using sendmail. 

But the whole windows environment has me at a loss.

 

If you�ve done this can you send me an example of your cgi?

 

Thanks!

Dell Case

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to