Implementing Contact Us
After having decided how to offer Contact Us, Contact Us can be configured and implemented. Contact Us is implemented using a single script reference to render it and another to configure the queues and media types. Additional customization can be made using a CSS stylesheet.
- Configure your business lines and queues for Contact Us.
Contact Us uses a JavaScript file, contactus.config.js, to manage business line and queue information.
Configurations can be reused if you want to show the same contact options on multiple pages (or a single configuration referenced in a header/footer, for example). A separate configuration file is required for any alternate configurations you want to render, where the contact options are different.
See "Configuring your business lines and queues for Contact Us".
- Configure Contact Us style.
Contact Us uses CSS to implement its styling. All of the visual components are set by ContactUs.css in <drive>:\Program Files (x86)\Mitel\MiContact Center\WebSites\Ccmwa\Content. You can copy this file and host it in your own website with any style modifications.
- Configure the email
- Configure the email form
For the Contact Us email from, the information captured is sent as an email to a queue for routing. Therefore, the From address must not be same as the To address submitted in the form; otherwise, the message is flagged as a no-reply and is not routed. To prevent this, in YourSite Explorer application, configure an alias email address that is valid for the SMTP server to send an email.
Note:Do not set as this email address as the dial-to address for any queue in the system.
Edit the CCMWa web.config file using any text or XML editor. The file location is: C:\Program Files (x86)\Mitel\MiContact Center\WebSites\Ccmwa\. In the appSettings section of Web.config, set the value to the email address that you configured. Save and close the file.
Note:Editing the CCMWa web.config file causes the CCMWa process to restart. Hence we recommend that you configure this setting during a downtime.
These settings do not affect mobile clients because they use the native email client instead of the web form.
- Configure the email form with Exchange
This step is only required if your mail server uses Exchange.
- Configure the email form
- Host Contact Us files on your corporate web server (optional)
If you are using multiple configuration files for Contact Us, you must host them externally on your corporate web server and then enable Contact Us to use the external files.
See "Hosting Contact Us files on your corporate web server".
- Add Contact Us to your corporate website.
Add the necessary files to your corporate website’s web directory on the web server and add the JavaScript references to add Contact Us as either a standalone webpage or embedded within an existing corporate webpage.