The samples are built into Sambar to use. Look for:

mailit.html (Form sample for posting to cgi)
mailit.pl (Posted from .html, sets up message) 
mailit.exe (executed by .pl, equiv to unix sendmail)

note:
mailit.pl as a security entry at the top that only allows
local host to execute. You will want to remove this if you want
to enable it elsewhere.

Danny

On 20/May/2002 11:08:08, Billy wrote:
> 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 
  To: [EMAIL PROTECTED] 
  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 <A TARGET="_blank" 
HREF="http://www.sambar.ch/list/";>http://www.sambar.ch/list/</A>
-------------------------------------------------------
To unsubscribe please go to <A TARGET="_blank" 
HREF="http://www.sambar.ch/list/";>http://www.sambar.ch/list/</A>

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




Reply via email to