Also what version of KiXtart are you using?

Try:

Dim $NewMail[0] instead of $NewMail[1]
_________________________
Home page: http://www.kixhelp.com/hb/