I am trying to setup EMAIL on SQL Server, when the job run it send me email about the status of job, i do not know how to configure it and how to link with my email account, any body have solution for that please...?
Install Outlook on the server. Setup outlook under the NT Account that the SQL Server runs as.
In enterprise manager right click on the server, and click properties. Server settings tab. Select the mail profile from the list. You may need to restart the service to get it to see the mail profile. You also need to tell sql agent to use the mail profile.
Setup outlook under the NT Account that the SQL Server runs as what does it mean...? how i do this, actualy i never never configure outlook before. If you give me some hints or steps, it will be much easier for me.
I just submitted a FAQ on this, but it hasn't been published yet.
Here is the text I submitted. It's a bit more detailed then my first post. If you have any more questions, just let me know. I'll be happy to answer them to the best of my ability.
Log into the SQL Server with an account that has Administrator privileges on the server.
Install Outlook.
Log into the SQL Server with the NT Account that the server is running as.
Configure an outlook profile (you will need a mailbox on your exchange server for the SQL Server to use).
Open Enterprise Manager, and navigate to the server that you are configuring.
Right click on the server and select properties.
Click on the “Server Settings” tab.
In the SQL Mail section click change, and select the profile that you just configured from the drop down menu. (If it is not listed, or the drop down list is empty, you will need to stop and restart the SQL Service).
Once you have the Outlook profile selected, click ok. Then click ok to close the SQL Server Properties.
To configure SQL Agent, click the plus next to the server, and the plus next to Management.
Right click on SQL Server Agent, and click properties.
On the general tab, in the Mail Session section, select the Outlook profile in the dropdown. Click Test then OK. If prompted to restart the Agent, click yes.
I have a question on a similar subject and while searching for an answer found this posting - maybe you can help ?
I have SQL Mail working just fine, notifying of scheduled Stored Procedures failing and sending spreadsheet or csv enclosures to customers etc.
I'd like to set it up to notify me only if scheduled maintenance jobs fail. So I go into the properties of the job & set it up for email notification "on job failure" & it emails me every time the job runs not just when it fails (in fact the jobs have never failed, which is why I want notification if it ever happens).
Because it was sending so many "wrong" messages I've turned them all off. I'll set some to Notify for tonight's maintenance jobs and let you know tomorrow.
I have a similar problem but it will require a different solution I'am sure. Need to set up SQL to email a third party to notify him of the status of scheduled SQL backups. Only thing is we are running Domino 6.0 Server not exchange. Can this be done?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.