![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
A while back we found a Stored procedure on the net from MS that allowed you to send mail. We used this SP in a few of our DTS jobs. We have a Table that we enter in all of the emails that we want the system to generate for us. Then loop through all the non-processed emails and send the info to sp_send_cdosysmail. I know there is a Send Email Task, though How can send a set of records to it or a script to go though all the rows that need processing? Would I be better off just sending the rows to a script and then sending the mail via VB.Net and not using the Send Mail Task? Thanks, Scott<- Use the Execute SQL Task and the For Each Loop. |
![]() |
| Thread Tools | |
| Display Modes | |
| |