Line 25 is:
set WA_MailObject = WAUE_Definition()
it needs to use the sytax:
set WA_MailObject = WAUE_Definition(host,port,timeout,username,password,useAuth)
Maybe try leaving all but the host setting blank like:
set WA_MailObject = WAUE_Definition("localhost","","","","","")