dbTalk Databases Forums  

Urgnt

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


Discuss Urgnt in the microsoft.public.sqlserver.dts forum.



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

Default Urgnt - 09-10-2004 , 08:34 AM






Hi All
I am running out in a problem laid before me....
In of the modules of my web Application, I have the requirment of
sending email via DTS Consuming the data thru webservices rather
direct Stored Proc...
Steps:
1.Write A DTS SQL server job
2.Invoke a stored proc thru webservices ....
3.Get the data and send out an email to all the users got from the Web
srvices recordset...
I have not worked with DTS till date .
Can anyone let me know whether is this possible....
Any Help would be highly appreciated...


Regards
Hemlata Shah

Reply With Quote
  #2  
Old   
Narayana Vyas Kondreddi
 
Posts: n/a

Default Re: Urgnt - 09-13-2004 , 04:20 PM






You can use xp_smtp_sendmail, to send mail via SMTP. You can get this xp and
examples from http://sqldev.net/xp/xpsmtp.htm

You may want to store the recordset to a temp table and send out the email
for every user in the recordset, by looping through it. Just to give you a
starting point!
--
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/


"Hemlata Shah" <hemlata_shah (AT) yahoo (DOT) com> wrote

Quote:
Hi All
I am running out in a problem laid before me....
In of the modules of my web Application, I have the requirment of
sending email via DTS Consuming the data thru webservices rather
direct Stored Proc...
Steps:
1.Write A DTS SQL server job
2.Invoke a stored proc thru webservices ....
3.Get the data and send out an email to all the users got from the Web
srvices recordset...
I have not worked with DTS till date .
Can anyone let me know whether is this possible....
Any Help would be highly appreciated...


Regards
Hemlata Shah



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.