home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 139 / dpcs0999.iso / Web / CFserver / data1.cab / Administrator / mail / index.cfm (.txt) < prev    next >
Encoding:
ColdFusion Encrypted Template  |  1999-04-12  |  3.6 KB  |  97 lines

  1. <HTML>
  2. <HEAD>
  3.     <TITLE>ColdFusion Administrator - Mail </TITLE>
  4.     <META NAME="Author" CONTENT="Copyright 1996 Allaire Corp. All rights reserved.">
  5.     <META NAME="Version" CONTENT="$Revision: 28 $ $Modtime: 9/14/98 5:17p $">
  6. </HEAD>
  7. <!--- General page formatting is controled by this template --->
  8. <cfinclude template="../formatting/header.cfm">
  9.  
  10.  
  11. <!--- Get general Mail Server settings --->
  12. <CFSET MailServer     = ""    >
  13. <CFSET SMTPPort     = "25"    >
  14. <CFSET Timeout        = "60"    >
  15. <CFSET AdminEMail    = ""    >
  16.  
  17. <!--- Make sure the MAIL and LOGGING registry keys exist --->
  18. <CFNewInternalRegistry ACTION=SET    ENTRY="Logging" BRANCH ="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion" TYPE="KEY">
  19. <CFNewInternalRegistry ACTION=SET    ENTRY="Mail" BRANCH ="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion" TYPE="KEY">
  20.  
  21. <CFNewInternalRegistry ACTION=GET BRANCH="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Mail"
  22.     ENTRY="MailServer"
  23.     TYPE="STRING"
  24.     VARIABLE="MailServer">
  25.  
  26. <CFNewInternalRegistry ACTION=GET BRANCH="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Mail"
  27.     ENTRY="SMTPPort"
  28.     TYPE="STRING"
  29.     VARIABLE="SMTPPort">
  30.  
  31. <CFNewInternalRegistry ACTION=GET BRANCH="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Mail"
  32.     ENTRY="Timeout"
  33.     TYPE="STRING"
  34.     VARIABLE="Timeout">
  35.  
  36. <CFNewInternalRegistry ACTION=GET BRANCH="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Logging"
  37.     ENTRY="AdminEMail"
  38.     TYPE="STRING"
  39.     VARIABLE="AdminEMail">
  40.  
  41. <CFOUTPUT>
  42. <FONT SIZE="#Evaluate(2 + FONTSIZE)#" FACE="#FONTFACE#"><B>Mail Server Connection Settings</B></FONT>
  43. </CFOUTPUT>
  44.  
  45. <CFOUTPUT>
  46. <FORM ACTION="updatemailinfo.cfm" METHOD="POST">
  47.     <TABLE>
  48.         <TR>
  49.             <TD VALIGN="TOP">
  50.                 <FONT SIZE="#FONTSIZE#" FACE="#FONTFACE#"><B>Mail Server</B></FONT>
  51.             </TD>
  52.             <TD VALIGN="TOP">
  53.                 <INPUT TYPE="TEXT" NAME="MailServer" VALUE="#MailServer#" SIZE=20><BR>
  54.                 <FONT SIZE="#FONTSIZE#" FACE="#FONTFACE#">
  55.                 Specify the server for sending dynamic SMTP mail messages. This can be an Internet
  56.                 address (e.g., mail.company.com) or the IP address of the mail server (e.g., 127.0.0.1).
  57.                 </FONT>
  58.             </TD>
  59.         </TR>
  60.         <TR>
  61.             <TD VALIGN="TOP">
  62.                 <FONT SIZE="#FONTSIZE#" FACE="#FONTFACE#"><B>Server Port </B></FONT>
  63.             </TD>
  64.             <TD VALIGN="TOP">
  65.                 <INPUT TYPE="TEXT" NAME="SMTPPort" VALUE="#SMTPPort#" SIZE=5 MaxLength=5><BR>
  66.                 <FONT SIZE="#FONTSIZE#" FACE="#FONTFACE#">
  67.                 Accept the default port number for mail servers or enter a different one. Contact your server administrator 
  68.                 if you are not sure which port the mail server is running on.
  69.                 </FONT>
  70.             </TD>
  71.         </TR>
  72.         <TR>
  73.             <TD VALIGN="TOP">
  74.                 <FONT SIZE="#FONTSIZE#" FACE="#FONTFACE#"><B>Connection Timeout </B></FONT>
  75.             </TD>
  76.             <TD VALIGN="TOP">
  77.                 <INPUT TYPE="TEXT" NAME="Timeout" VALUE="#Timeout#" SIZE=5 MaxLength=5> 
  78.                 <FONT SIZE="#FONTSIZE#" FACE="#FONTFACE#"><B>seconds</B>
  79.                 - the time ColdFusion should wait for a response from the mail server. This value may be important when optimizing performance with a less reliable mail server.</FONT>
  80. </CFOUTPUT>
  81.                 
  82.                 <BR>
  83.                 <HR SIZE=1 NOSHADE>
  84.                 <INPUT Name="Apply"             Type="SUBMIT" Value=" Apply ">
  85.                 <INPUT NAME="VerifyMailInfo"     TYPE="SUBMIT" VALUE=" Verify ">
  86.                 <INPUT Name="Cancel"             Type="SUBMIT" Value="Cancel">
  87.             </TD>
  88.         </TR>
  89.     </TABLE>
  90. </FORM>
  91.  
  92.  
  93. <!--- This closes the page formatting template --->
  94. <CFINCLUDE TEMPLATE="../formatting/footer.cfm">
  95. </BODY>
  96. </HTML>
  97.