Installing Answers Anywhere server software  Setting up Answers Anywhere for Simplified Chinese

Chapter 2: Installation Procedures

Setting up Answers Anywhere for e-mail

This section describes how to enable users to query Unwired Accelerator applications using an e-mail client.

  1. Create a dedicated e-mail account, such as “askua,” on your mail system for Unwired Accelerator to check. Your e-mail system must provide pop3 access to this e-mail account.

  2. Make a note of the following values:

  3. Navigate to:

    %SYBASE%\UA65\tomcat\webapps\dejima\WEB-INF\classes

  4. Open the uadejima.properties file in a text editor and set the property files for your environment, using information in Table 2-3.

    Table 2-3: uadejima.properties file settings

    Property name

    Description

    smtp.host

    Outbound e-mail server.

    pop.host

    Inbound e-mail server.

    smtp.auth

    true – authenticates outgoing e-mail. If your SMTP host requires authentication for sending e-mails, set this to “true.”

    false – this is the default setting. Does not authenticate outgoing e-mail.

    email.id

    User account for Unwired Accelerator to use on the inbound e-mail server to access the inbound mailbox.

    email.pwd

    Password for Unwired Accelerator to use to access the inbound mailbox.

    ua.host

    Host and domain name of the machine where Unwired Accelerator is installed. For example, if the machine name is “lab2k” and the domain is “sybase.com,” enter:

    lab2k.sybase.com
    

    ua.port

    The port UA is running on. The default is 4040.

    ua.rid

    The resource ID used for Answers Anywhere integration. The default is 21.

    default.opal

    The location of the Answers Anywhere agent network. The default setting is: /dbdsUnwired/wired.opal.

    To use the Simplified Chinese agent network on PDAs, set this value to: /dbdsUnwired_zh/wired.opal. See “Setting up Answers Anywhere for Simplified Chinese” for additional configuration information.

    role.check

    Set to “true” to use role verification. Set to “false” if role verification is not needed.

    Following is an example file:

    smtp.host=lab2k.sybase.com
    smtp.auth=false
    pop.host=lab2k.sybase.com
    email.id=ua
    email.pwd=ua
    ua.host=localhost
    ua.port=4040
    ua.rid=21
    ua.reg.uri=/onepage/mpindex.jsp
    default.opal=/dbdsUnwired/wired.opal
    role.check=false
    
    application/msword=doc
    application/x-msexcel=xls
    application/pdf=pdf
    text/html=html
    text/plain=txt
    image/jpg=jpg
    image/giff=gif
    
  5. Save the file and close it.

  6. Restart the Tomcat application server as described in “Starting and stopping the Tomcat application server”.

  7. Open a Web browser window, enter the following and click Add:

    http://hostname.domain:port/dejima/mail.jsp

    Substitute your information, such as:

    http://lab2k.sybase.com:4040/dejima/mail.jsp

    Click Add. This starts the process that handles e-mail queries.

  8. To test the configuration, send an e-mail to the dedicated e-mail account, such as “askua.” Include the query on the subject line of the e-mail. See the Unwired Accelerator Feature Guide and the Mobile Application Development Tutorial for information.





Copyright © 2005. Sybase Inc. All rights reserved. Setting up Answers Anywhere for Simplified Chinese

View this book as PDF