Chapter 3 DynaScript Predefined Objects
The mailList
object
has this property:
mailList.count
This property is read-only.
The number of messages in the mail list.
Integer.
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");
-->
"mailPiece object (incoming)".
"mailPiece object (outgoing)".
Copyright © 1999 Sybase, Inc. All rights reserved. |