Registering Mail Servers Using WLST

17-16 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter

17.7.2 Deleting a Mail Connection Using WLST

Use the WLST command deleteConnection to remove a mail server connection. For command syntax and examples, see the section, deleteConnection in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. For information on how to run WLST commands, see Section 1.13.3.1, Running Oracle WebLogic Scripting Tool WLST Commands.

17.8 Setting Up Mail Service Defaults

Use the WLST command setMailServiceProperty to set defaults for the Mail service: ■ address.delimiter: Defines the delimiter that is used to separate multiple mail addresses. A comma is used by default. Some mail servers require mail addresses in the form lastname, firstname and, in such cases, a semicolon is required. ■ mail.emailgateway.polling.frequency: Frequency, in seconds, that Space distribution lists are checked for new incoming mails. The default is 1800 seconds 30 minutes. Email communication through Space distribution lists can be published as discussion forum posts on a discussions server. For details, see Publishing Space Mail in a Discussion Forum in Oracle Fusion Middleware Users Guide for Oracle WebCenter. ■ mail.messages.fetch.size: Maximum number of messages displayed in mail inboxes ■ resolve.email.address.to.name: Determines whether user email addresses are resolved to WebCenter user names when LDAP is configured. Valid values are 1 true and 0 false. The default value is 0. When set to 1, WebCenter user names display instead of email addresses in Mail task flows. Set this property to 1 if the Instant Messaging and Presence service requires user names to obtain presence status because presence information cannot be obtained when the Mail service provides email addresses. Setting this value to 1 does impact application performance so you must take this into consideration when setting this property. For command syntax and examples, see the section, setMailServiceProperty in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. For information on how to run WLST commands, see Section 1.13.3.1, Running Oracle WebLogic Scripting Tool WLST Commands.

17.9 Testing Mail Server Connections

Confirm that the mail server is up by connecting to the server using any client, such as Thunderbird or Outlook. Note: Before restarting the managed server, mark another connection as active; otherwise, the service is disabled.