Thread: JMail error
View Single Post
  #3  
Old 07-14-2009, 07:58 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 182
tks for answer.
You were right -for some reason the sch task launched 64 bits version of cscript (inside the batch file the script was called like cscript SendMail.vbs)
I changed the batch file so the script is called like:
"C:\WINDOWS\SysWOW64\cscript.exe" SendMail.vbs
Now is working fine even when launched by the sch task ...
Reply With Quote