View Single Post
  #4 (permalink)  
Old 04-21-2008, 07:23 PM
Chiefos Chiefos is offline
WebProWorld New Member
 

Join Date: May 2006
Posts: 12
Chiefos RepRank 0
Default Re: store procedure check expirydate

Im pretty sure that you can't send emails with SPRocs, I could be wrong but it doesn't sound like this would be the place to write this sort of logic. Seems that the best thing to do is to retrieve all customer information as one DB call and then process the email send out in your ASP code.

Depending on how many customer records you will have to update and the regularity of this type of action then its your call whether you batch these update statements together and run send them all over the wire to the db or not.
Reply With Quote