dbTalk Databases Forums  

Execute send mail task in the Active x Script

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute send mail task in the Active x Script in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mariame
 
Posts: n/a

Default Execute send mail task in the Active x Script - 04-13-2005 , 07:36 AM






Hi everyone
I have a package that contains 2 Task (Active x script & send mail task)
In The active x script task there is a loop in it for a condition until it
is achieved, i wont for each loop, the send mail task be executed
is it doable?? if yes, how???????????



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Execute send mail task in the Active x Script - 04-13-2005 , 08:20 AM






No. Looping inside a task does not allow you to reach out and execute other
tasks, since the first task is still executing. Why not just add some ActX
Script code to send the mail. Plenty of methods to send mail in VBS.

Or

Personally I do all admin mailing through xp_smtp_sendmail
(http://www.sqldev.net) and you can just wrap this all in a single T-SQL
task.


Darren Green
http://www.sqldts.com
http://www.sqlis.com

"Mariame" <mariame_waguih (AT) hotmail (DOT) com> wrote

Quote:
Hi everyone
I have a package that contains 2 Task (Active x script & send mail task)
In The active x script task there is a loop in it for a condition until it
is achieved, i wont for each loop, the send mail task be executed
is it doable?? if yes, how???????????





Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.