Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI
Could Any one Tell me how to send the notifications automatically?

And how to Change the Code for Existing Notification Mail if the data is not correctly updated in that automaticaly generated Email

Please tell me how to fix this issue ?
Posted
Updated 30-Jan-12 19:30pm
v2

1 solution

Actually Google will get you quite some results when searching for something like 'email in sql server 2005'.
Just some results I found, including screenshots:
E-Mail Functionality in SQL Server 2005 - SQL Server Performance[^]
Database Mail in SQL Server 2005[^]
SQL Server 2005 Database Mail Setup and Configuration Scripts[^]
Setting up email notifications in SQL Server 2005/2008[^]
Start looking there. If you still have any questions someone here can almost certainly help you with it.
Good luck!
 
Share this answer
 
Comments
angel94 1-Feb-12 3:27am    
Thank you very much.
angel94 1-Feb-12 3:45am    
getting error :
1) Exception Information =================== Exception Type: System.NullReferenceException Message: Object reference not set to an instance of an object. Data: System.Collections.ListDictionaryInternal TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Objects.Account GetAccount(Int32) HelpLink: NULL Source: DatabaseMailEngine StackTrace Information =================== at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.GetAccount(Int32 accountID) at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.SessionManager.GetAccount(Int32 accountID) at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateSendMailCommand(DBSession dbSession) at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateCommand(DBSession dbSession) at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandRunner.Run(DBSession db) at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.ThreadCallBack.MailOperation(Object o)
Sander Rossel 1-Feb-12 13:31pm    
Okay... I can't really help with just an error message. Where did you get it? Seems you missed to initialize a list.
Sander Rossel 2-Feb-12 14:22pm    
Na...?
Sander Rossel 3-Feb-12 2:36am    
You can click 'Improve question' in the right lower corner of your question. Then simply copy paste the code where the problem is.

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