Sun Java System Messenger Express 6 2005Q4 Customization Guide

Customizing the Composition Window

The Messenger Express Composition window, shown in Customizing the Composition Window, is used primarily to compose a new message. You can also use the window to save a draft or attach a file to the message, look up a recipient in the address book, access the help file, and cancel the composition altogether. Mail recipients can be added in “To”, “Cc”, or “Bcc” fields. You can edit the message in Text or HTML format if you are using Internet Explorer and this feature is not supported in Netscape Navigator. In the Composition window you can also check the spelling. The Composition window also enables you to set the mail priority or request for a return receipt.

Figure 1–5 Messenger Express Composition Window

Message Composition screen

Composition Window Functions

Composition Window Functions lists the functions needed to customize the Composition window, including main functions (found in main.js) and parent functions (found in comp_fs.html).

Table 1–7 Composition Window Functions

Item  

Function  

Send 

parent.send(’smtp’)

Address 

parent.lookup()

Attach 

main.attach()

Save Draft 

parent.send(’draft’)

Spell Check 

parent.spellck()

Help 

main.help(1007399)

Cancel 

parent.cancel()

To/Cc/Bcc 

parent.lookup()

Text/HTML 

parent.switchEditor()