Ok in Sambar there is a native sendmail utility. There are some samples in
the /docs/samples but I use my own.

You must config the mail setting in the config.ini and sambar can use
either an outside server or itself to do this. In my case I send all mail
to a smart host for delivery. You can find all the setting here
http://localhost/sysadmin/www/rpc.asp?rpc=sendmail and below is a working
example. There are ways to add more fields as well which I can show you if
need be.

Put this in a stm and run.

<form action="<RCEdocument_name>" method="post">
<input type="hidden" name="func" value="sendmail">
<p>E-mail:<br>
<input type="text" name="email" size="40" maxlength="80" value=""></p>
<p>Subject:<br>
<input type="text" name="subject" size="40" maxlength="80" value=""></p>
Message:<br>
<textarea name="message" rows="3" cols="40"></textarea>
<input type="submit" value="Sendmail">
</form>

<RCif RC$func = sendmail>
<RC$recipient = [EMAIL PROTECTED]>
<RCXsendmail recipient=RC$recipient message=RC$message subject=RC$subject
email=RC$email>
<RCendif>

-----Original Message-----
From: "skidmore" <[EMAIL PROTECTED]>
To: "sambar List Member"  <[EMAIL PROTECTED]>
Date: Mon, 29 Mar 2004 22:30:09 -0500 (US Eastern Standard Time)
Subject: [sambar] mailit.pl

>  
>  Could you please elaborate.  I'm afraid I do not understand what you
> are
> referring to.

> 
> -------Original Message------- 

> Why not just use sambar RC or asp and the native sendmail? Both work
> great.

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



Reply via email to