1.6 Configuring the Contact Us Page

The Viewpoint Web framework provides email configuration options. Sending email is primarily an end-user function for submitting issue notification or requesting support. To allow users to send messages, configure the mail settings according to required specifications.

The mail configuration is within the core.xml file. A sample follows of what the <mail> XML block within the parent element looks like:

<mail>
  <smtp-server>smtp.gmail.com</smtp-server>
  <port>25</port>
  	<username>[email protected]</username>
  <password>password</password>
  <ssl-enabled>true/false</ssl-enabled>
  <recipients>
    <recipient field="to">
      [email protected]
    </recipient>
    <recipient field="cc">
      [email protected]
    </recipient>
    <recipient field="bcc">
      [email protected]
    </recipient>
  </recipients>
</mail>