Configuration

An example of the files is in the doc directory.

IMPORTANT: The root "oracle" directory containing the properties files must be in the classpath of the JSP engine. There is a properties directory in the install; modify the properties files there, and put the <install>/properties directories in the classpath of the JSP engine.

Note: Parameters and values in properties file is case sensitive.

WARNING: Ensure you are using the proper format for your

UNIX or Windows platforms. For example:

UNIX format mail.logger=/tmp/mail.log

Windows format mail.logger=d:\\tmp\\mail.log

For the Mail application, you must configure the following parameters:

Table 2–1 Mail parameters

mail.service

Mail service supported by the mail server. Currently

 

supported services are "IMAP" or "POP3". Default is

 

IMAP.

mail.server.name

Full hostname of the mail server.

mail.server.port

Port number of the Mail server on the host. Default

 

for IMAP is 143. Default for POP3 is 110.

mail.smtp.server.name

Full hostname of the SMTP server.

mail.smtp.server.port

Port number of the SMTP server on the host. Default

 

for IMAP is 25.

mail.smtp.server.login

Returns the login name of the SMTP server. If login

 

for SMTP is not required, this method should return

 

a null or empty string (""), otherwise, the value will

 

be used for SMTP login.

mail.folder.inbox

Name of the Inbox folder on the mail server. Default

 

is "INBOX". This property is optional.

FastForward 2-5

Page 35
Image 35
Oracle Audio Technologies 9i manual Mail.service, Mail parameters