Chapter 3 DynaScript Predefined Objects


mailList properties

The mailList object has this property:

count property

Syntax

mailList.count 

Attributes

This property is read-only.

Description

The number of messages in the mail list.

Return

Integer.

Example

This example displays the number of messages in the mail list.

<!--SCRIPT
mlist = new MailList ("mail.sybase.com", "elmo", "secret", "elmo@mail.sybase.com");
document.WriteLn(mlist);
document.WriteLn("There are " + mlist.count + " messages in the mail list");
-->

See also

"mailPiece object (incoming)".

"mailPiece object (outgoing)".

 


Copyright © 1999 Sybase, Inc. All rights reserved.