Sun Java System Communications Express 6 2005Q4 Customization Guide

Customizing Message Listing

This section describes how to modify the Message List window shown in Figure 5–2.

Figure 5–2 Communications Express Message List Window

Figure showing Communications Express message list window.

You can modify the following in the Message List window:

Modifying Message List Window

To modify the Message List window, edit the appropriate files as follows:

Functionally, the listFrameHTML() function links the “Collect External Mail” hyperlink to collect() in main.js. An example of such a linking is shown in - Message List Window Modifications

Example - Message Listing Modifications

To display the most recently received mails first, and change the text on “Collect External Mail” button to “Get Messages From Another Server”, follow the code example provided in Example 5–3. This shows the necessary changes to be made in file en/i18n.js.


Example 5–3 Altering List Window Text (en/i18n.js)


// POP3 Collection
....
i18n[’collect long’] = ’Get Messages From Another Server