Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-13-2009, 01:11 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 182
JMail error

I am using on a machine a script made by Kinook named SendMail.vbs.This script uses JMail to send an email.
Problem is when I am launching the batch file which is running SendMail.vbs -everything is ok but when the batch file is launched by a sch task -email is not sent and this message appears:
Could not create object named "JMail.SMTPMail"
JMail 4.5 is installed on that box ,OS is W2003Server X64.
I guess the problem is caused by the sch task running under X64 (as on all the other machines where is normal W2003 Server -no problem like this appears,sch task sens email properly).
Inside the SendMail.vbs the object is created like this:
' use JMail object to send
Set objMail = WScript.CreateObject("JMail.SMTPMail")
If Err.Number <> 0 Then ExitWithError "Failed to create JMail.SMTPMail object."
Maybe someone have an idea about how to fix this problem ...
Thanks
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:37 PM.


Copyright 1999-2019 Kinook Software, Inc.