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%\UnwiredAccelerator70\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

    Identifies the outbound e-mail server.

    pop.host

    Identifies the inbound e-mail server.

    smtp.auth

    Indicates whether to authenticate outgoing e-mail.

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

    false – does not authenticate outgoing e-mail. This is the default setting.

    email.id

    Identifies the user account for Unwired Accelerator to use on the inbound e-mail server to access the inbound mailbox. The default is “ua.”

    email.pwd

    Identifies the password for Unwired Accelerator to use to access the inbound mailbox. The default is “ua.”

    ua.host

    Identifies the 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
    

    The default is “localhost.”

    ua.port

    Identifies the port on which UA is running. The default is 4040 for Tomcat and 8080 for EAServer.

    ua.rid

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

    ua.reg.uri

    Indicates the Uniform Resource Identifier for Unwired Accelerator access to Answers Anywhere. The default is: /onepage/mpindex.jsp.

    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

    Indicates whether to use role verification for Answers Anywhere. Set to “true” to use role verification. Set to “false” if role verification is not needed.

    application/ msword

    application/ x-msexcel

    application/pdf

    text/html

    text/plain

    image/jpg

    image/giff

    Following is an example file:

    smtp.host=out_mailserver.sybase.com
    smtp.auth=false
    pop.host=in_mailserver.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. If you are using Tomcat, 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 Start. This starts the process that handles e-mail queries.

    If you are using EAServer, open a Command Prompt window and navigate to %SYBASE%\UnwiredAccelerator70\scripts. At the command line, enter:

    checkmail eas
    
  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 Developer’s 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