View Single Post
  #1 (permalink)  
Old May 18th, 2005, 01:25 PM
Hal Levy Hal Levy is offline
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,102
Thanks: 0
Thanked 2 Times in 2 Posts
Default CDONTS and ActiveX in a DTS Package

I am creating a DTS Package to run on a schedule.
The DTS Package should send an email.

1. I Select the content into a DTSGlobalVariable (Variant) in an Execute SQL Task
2. On success I go to an ActiveX script task that takes the data out of the global and sends and email...

All runs fine when the objMail.Send is removed from the script... When the .Send is there, I get an error "ActiveX Scripting encountered a Run Time Error durring the execution of the script."

Clearly this takes place when CDONTS tries to send the email-- I have never had to set up a server to use CDONTS- it was always already done... Is there some setting for the target server?


Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
__________________
Hal Levy
Reply With Quote