Location: PHPKode > scripts > Max Contact > Max Contact/documentation/configuration.htm
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Configuring the Max Contact System</title>
</head>

<body>

<p align="center"><img border="0" src="images/header.jpg" width="685" height="106"></p>
<table border="0" cellpadding="8" cellspacing="0" width="100%">
  <tr>
    <td width="21%" valign="top">
      <table height="241" background="images/link_box.gif" width="151">
        <tbody>
          <tr>
            <td valign="top" width="143" height="16"><font size="2" face="Verdana">&nbsp;<img src="images/tri_yellow.gif" align="absMiddle" width="7" height="8">
              <a href="index.htm">Overview</a></font></td>
          </tr>
          <tr>
            <td width="143" height="18"><font size="2" face="Verdana">&nbsp;<img src="images/tri_yellow.gif" align="absMiddle" width="7" height="8">
              <a href="installation.htm">Installation</a></font></td>
          </tr>
          <tr>
            <td width="143" height="18"><font size="2" face="Verdana">&nbsp;<img src="images/tri_yellow.gif" align="absMiddle" width="7" height="8">
              <a href="configuration.htm">Configuration</a></font></td>
          </tr>
          <tr>
            <td width="143" height="18"><font size="2" face="Verdana">&nbsp;<img src="images/tri_yellow.gif" align="absMiddle" width="7" height="8">
              <a href="extras.htm">Advanced Usage</a></font></td>
          </tr>
          <tr>
            <td width="143" height="19"><font size="2" face="Verdana">&nbsp;<img src="images/tri_yellow.gif" align="absMiddle" width="7" height="8">
              <a href="css.htm">Email Page Format</a></font></td>
          </tr>
          <tr>
            <td width="143" height="18"><font size="2" face="Verdana">&nbsp;<img src="images/tri_yellow.gif" align="absMiddle" width="7" height="8">
              <a href="webwisesage.htm">Web Wise Sage</a></font></td>
          </tr>
        </tbody>
      </table>
      <p>&nbsp;</td>
    <td width="67%" valign="top">
      <p align="center"><b><font size="4" color="#0000FF" face="Verdana">Configuring
      the Max Contact System</font></b></p>
      <font face="Verdana" size="2">
      <p align="left">Max Contact acts just like an email message. There's a
      place for the Subject line, the Message, the Email it gets sent to, etc.</p>
      <p align="left">But the significant difference from an ordinary email
      message is the Nature of Request pull-down menu. When the visitor gets to
      the Email Contact form, they see this pull-down field called Nature of
      Request. When they select what is the nature of their request, you can
      send them an email specific to that Nature of Request.</p>
      <p align="left">For example, suppose you setup that Nature of Request
      pull-down menu to contain:</p>
      <ul>
        <li>
          <p align="left">About Our Products</li>
        <li>
          <p align="left">About Our Services</li>
        <li>
          <p align="left">General Questions and Comments</li>
      </ul>
      <p align="left">You can send a different email response for each of these
      &quot;natures.&quot;&nbsp; Here's how:</p>
      <p align="left">You setup the pull-down field with the above lines by
      creating a text file called sysnature.txt&nbsp;&nbsp; In this
      sysnature.txt file, you place one line for each &quot;Nature of
      Request.&quot;&nbsp; For example, in the above, the sysnature.txt file
      might contain:</p>
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td width="23%"><font face="Verdana" size="2">products</font></td>
          <td width="77%"><font face="Verdana" size="2">About Our Products</font></td>
        </tr>
        <tr>
          <td width="23%"><font face="Verdana" size="2">services</font></td>
          <td width="77%"><font face="Verdana" size="2">About Our Services</font></td>
        </tr>
        <tr>
          <td width="23%"><font face="Verdana" size="2">questions</font></td>
          <td width="77%"><font face="Verdana" size="2">General Questions and
            Comments</font></td>
        </tr>
      </table>
      <p align="left">Note that there are two parts of the line, which is
      tab-delimited. (I.E., there is a TAB character between the two.) The
      second is the actual text that gets put in the pull-down field called
      Nature of Request.&nbsp; The first is the name of a text file which
      contains the actual response to be sent when a visitor chooses that
      selection from the pull-down menu. You can create as many Nature of
      Requests as you like.</p>
      <p align="left">Let's look at one of these response text files, say the
      products text file. It would be named products.txt and might contain the
      following:</p>
      <dl>
        <dd>
          <p align="left">Subject:[NAME] -- Thank you for contacting Max
          Widgets, Inc.<br>
          <br>
          Thank you for your interest in the products provided by Max Widgets.<br>
          <br>
          Your request is important to us, and we will reply as soon as
          possible.<br>
          <br>
          Thanks again,<br>
          <br>
          Your Name<br>
          www.yourdomain.com<br>
          <br>
          Your Signature Information</dd>
      </dl>
      <p align="left">&nbsp;Of course, you can make this text file contain
      whatever you like. If the Nature of Request is, for example, More
      Information About Widgets, you could make a text file many pages long, all
      about your spectacular widgets.</p>
      <p align="left">Note the [NAME] tag. This gets filled in with the contents
      of the Name field from the form, so you can personalize the response
      email.</p>
      <p align="left">This becomes a little clearer when we consider the <b>other
      email</b> that gets sent when a visitor fills out the form, and presses
      Send Email Message.</p>
      <p align="left">There's another email?&nbsp; Yes.&nbsp; It's the one that
      gets sent to you. You receive an automatic reply whenever a visitor uses
      the email contact form. After all, that's what a contact form is all
      about.</p>
      <p align="left">You must setup a template text file for this email that
      gets sent to you. It's called sysyouremail.txt&nbsp;&nbsp;&nbsp; And the
      contents of the sysyouremail.txt file can be left at the default, if you
      like.&nbsp; Here's what included as the default sysyouremail.txt file:</p>
      <dl>
        <dd>
          <p align="left">Subject:Email from Contact Form at www.yourdomain.com<br>
          <br>
          Nature of Email: [NATURE]<br>
          Name of Person: [NAME]<br>
          Company: [COMPANY]<br>
          Website: [URL]<br>
          Email: [EMAIL]<br>
          Phone: [PHONE]<br>
          <br>
          Subject of Message: [SUBJECT]<br>
          <br>
          Message:<br>
          [BODY]</dd>
      </dl>
      <p align="left">Pretty obvious, yes?&nbsp; Those tags like [NAME] and
      [EMAIL] come from the contents of the fields on the form that the visitor
      filled in. You can use <b>all</b> of those tags in any of the other Nature
      of Request emails, also, if you really want to personalize things.</p>
      <p align="left">Note that both (or all) emails may have the first line
      begin with the word Subject:</p>
      <p align="left">If so, this will be the Subject line of the email that
      gets sent.&nbsp; And all the merge tags can be used on the Subject line,
      too.</p>
      <p align="left">To summarize:&nbsp; <b>1)</b> the visitor fills out the
      form, <b>2)</b> they get sent an auto-response according to what you've
      defined in the sysnature.txt and <b>3)</b> you receive an email based upon
      the contents of the sysyouremail.txt</p>
      <p align="center"><b>Advanced Usage</b></p>
      <p align="left">Now, let's look at how you can use HTML emails for your
      auto-responses. And how you can add an extra drop-down box to the Contact
      Form...</p>
      <p align="center">(<a href="extras.htm">HTML Email and Extras</a>)</font></td>
    <td width="12%" valign="top"></td>
  </tr>
</table>

</body>

</html>
Return current item: Max Contact