On 09/01/09 08:23 +07:00 Asep Suryadi wrote:
> Kebetulan ini web hosting di server sendiri Pak.

Wah nggak ngomong dari awalnya, kirain hosting di web hoster :-)

Kalau Anda pakai CDOT di IIS baca artikel ini :

<http://www.altn.com/Support/KnowledgeBase/KnowledgeBaseResults/?Number=KBA-01373>

akan lbh baik kalau pakai CGI-script \\mdaemon\cgi\form2raw krn IIS-smtp
tidak support smtpauth shg Anda terpaksa pakai trusted host.

Dari file \\mdaemon\cgi\readme.txt

-----------------------------------------------------------------------------

Alt-N Technologies FORM2RAW v1.6 web to email CGI for MDaemon
Copyright (c) 2000 Alt-N Technologies, All rights reserved
-----------------------------------------------------------------------------


This program is a web accessible CGI which provides an interface which
allows  users to send email using MDaemon from a web page.  It
essentially processes  the results of an HTML form and sends an email
message by creating an MDaemon  RAW file.  See the MDaemon manual for
details on the RAW message format.  The  intent is to provide a method
by which users can send email messages from  their own web sites.  Since
this uses MDaemon and the RAW message capability  the overhead of SMTP
I/O is avoided making the entire process very fast and  efficient.

If this CGI will run on the same computer as MDaemon then no special
configuration needs to be made.  However, if MDaemon is running on
another  computer you will need to create a file called FORM2RAW.INI.
This file must  exist in the same directory as FORM2RAW.EXE.  Place the
path to MDaemon's  RAW directory into this file like so:

[Directories]
RAW=path to RAW directory

By default, MDaemon 6.52 or higher will not send emails created by
Form2Raw  unless the email address passed in the 'from' tag (see below)
is a valid  account on the MDaemon server.  If you want to disable this
behavior you  can set the following key in the FORM2RAW.INI file:

[Security]
FromCheck=No

NOTE: Even when FromCheck is enabled, unauthorized users can still send
messages through Form2Raw by spoofing the From address.  We do not
recommend  enabling Form2Raw on a publicly accessible web site unless
the site isconfigured to require authentication.

This archive contains:

Readme.txt   - the file you are reading now
Compose-IIS.html - sample form you can use for Apache, IIS, etc..
Compose-WC.html - sample form you can use with WorldClient
Form2RAW.exe - CGI executable

This program is compatible with IIS, Apache, WDaemon (WorldClient), and
pretty much any web server.

To allow access to Form2Raw from WDaemon (WorldClient), edit
WorldClient.ini and add the following keys:

[WebServer]
CgiBase3=/Form2Raw.cgi
CgiFile3=\MDaemon\CGI\Form2Raw.exe

then restart WorldClient.


This CGI recognizes the following tags within the submitted form:
-----------------------------------------------------------------------------

 Field: from
  Desc: Use this form field to specify the sender's email address.
Syntax: <input type="text" name="from">
        <input type="hidden" name="from" value="[email protected]">
-----------------------------------------------------------------------------

 Field: to
  Desc: Use this form field to specify the recipient's email address.
        Multiple addresses can be given when separated by a comma.
Syntax: <input type="text" name="to">
        <input type="hidden" name="to" value="[email protected]">
-----------------------------------------------------------------------------

 Field: cc
  Desc: Use this form field to specify additional recipient's using
        the CC header.  Multiple addresses can be given when separated
        by a comma.
Syntax: <input type="text" name="cc">
        <input type="hidden" name="cc" value="[email protected]">
-----------------------------------------------------------------------------

 Field: subject
  Desc: Use this form field to specify the message subject.
Syntax: <input type="text" name="subject">
        <input type="hidden" name="subject" value="FORM2RAW message">
-----------------------------------------------------------------------------

 Field: Priority
  Desc: This form field is used to specify the relative importance of
        a message.  Valid values are "High", "Normal", and "Low".
Syntax: <input type="text" name="Priority">
        <input type="hidden" name="Priority" value="Normal">
-----------------------------------------------------------------------------

 Field: OnSuccess (not available when used with WorldClient)
  Desc: Use this form field to specify a URL to which the sender will
        be directed after a message is created successfully.
Syntax: <input type="text" name="OnSuccess">
        <input type="hidden" name="OnSuccess" value="http://www.altn.com";>
-----------------------------------------------------------------------------

 Field: OnFailure (not available when used with WorldClient)
  Desc: Use this form field to specify a URL to which the sender will
        be directed after a message creation failure.
Syntax: <input type="text" name="OnFailure">
        <input type="hidden" name="OnFailure" value="http://www.altn.com";>
-----------------------------------------------------------------------------

-END-



-- 
syafril
-------
Syafril Hermansyah
MDaemon-L Moderators, running MDaemon 10.0.3
Harap tidak cc: atau kirim ke private mail untuk masalah MDaemon.

-- 
--[MDaemon-L]------------------------------------------------
Milis ini untuk Diskusi antar pengguna MDaemon Mail Server.
Mohon tidak posting dengan format HTML atau Rich Text, 
pastikan selalu menggunakan Format Plain-text.

Arsip          : <http://mdaemon-l.dutaint.com>
Henti Langgan  : Kirim mail ke MDaemon-L-unsubscribe [at] dutaint.com
Berlangganan   : kirim mail ke MDaemon-L-subscribe [at] dutaint.com
Versi Terakhir : MD 10.0.3, SP 4.0.2, OC 2.2.1, SG 1.1.1, PP 1.1.0

Kirim email ke