Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
i am using sql server2012 db mail for sending email.i am using amazon SMTP server .smtp server can receive 5 mails /sec but sql server sending 18 emails /sec.how to reduce the sending emails per sec?Please provide me the basic information to control the sql server2012 dbmail..
Posted
Updated 19-Mar-14 19:31pm
v2

1 solution

You need to post code so we can see what you're talking about, but you should not assume that 5 per second is a hard coded value, you should aim below that, in order to make sure it works all the time. You can use CURRENT_TIMESTAMP or GetDate() to get the current time to the millisecond, if you need to make things happen at certain intervals, but that's not really the SQL way, I'd be more inclined to use procedural code that interacts with the database at that point.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900