Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server Newbies
»
SetUp Mail Notifications with Jobs failure
14 posts, Page 1 of 2
1
2
»»
SetUp Mail Notifications with Jobs failure
Rate Topic
Display Mode
Topic Options
Author
Message
olingerd
olingerd
Posted Thursday, January 12, 2012 1:21 PM
Forum Newbie
Group: General Forum Members
Last Login: Friday, June 01, 2012 12:43 PM
Points: 4,
Visits: 50
Hi All,
To new to know what to do here. Using SQL Server 2008 R2. Setup DB mail and restarted Agent service but mail notification on jobs still fails. Not sure what I am missing.
Any help is truly appreciated!!!!!!!!!
Thanks in advance,
d
Post #1235201
Geoff A
Geoff A
Posted Thursday, January 12, 2012 1:34 PM
SSC-Addicted
Group: General Forum Members
Last Login: Monday, May 20, 2013 7:10 AM
Points: 485,
Visits: 1,568
Look at you Mail Session properties to make sure it is active.
SQL Server Management Studio --> Connect to the SQL Instance in question.
Right Click on the SQL Server Agent. Click on Properties. Click on Alert System.
check to make sure your Enable Mail Profile box is checked and that you see your Mail system and Mail Profile as options to choose from.
Post #1235206
Chuck Hottle
Chuck Hottle
Posted Thursday, January 12, 2012 2:40 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Today @ 1:35 PM
Points: 197,
Visits: 1,068
If you find that you have to enable the profile under SQL Agent, Alert System, you'll have to bounce SQL Agent for the change to take effect.
Post #1235252
Brandie Tarvin
Brandie Tarvin
Posted Friday, January 13, 2012 6:12 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 12:22 PM
Points: 6,660,
Visits: 5,684
You say you set up DBMail, but did you set up Operators?
Brandie Tarvin, MCITP Database Administrator, MCDBA, MCSA
Webpage
:
http://www.BrandieTarvin.net
LiveJournal Blog
:
http://brandietarvin.livejournal.com/
On
LinkedIn!
,
Google+
, and
Twitter
.
Freelance Writer:
Shadowrun
Latchkeys: Nevermore
,
Latchkeys: The Bootleg War
, and
Latchkeys: Roscoes in the Night
are now available on Nook and Kindle.
Post #1235566
olingerd
olingerd
Posted Friday, January 13, 2012 6:29 AM
Forum Newbie
Group: General Forum Members
Last Login: Friday, June 01, 2012 12:43 PM
Points: 4,
Visits: 50
Hi ALL. Thanks for the replies. I really appreciate the help in knowing what I am missing here....
Hi Geoff,
My agent properties show enabled and the Mail system is set to Database Mail. Which option do I want for the Mail Profile? Choices are SQL Server Agent Mail (which is chosen) or SQL Server Mail Profile?
Hi Chuck,
Agent property does show enabled.
Hi Brandie,
Yes, I did set up an Operator. Is there anything special I need to do here other than create it and point to it in the Notification section of the job?
Thanks again!!!
Denise
Post #1235573
Brandie Tarvin
Brandie Tarvin
Posted Friday, January 13, 2012 6:46 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 12:22 PM
Points: 6,660,
Visits: 5,684
You've followed all the steps below?
Microsoft's DBMail Wizard Steps
Pinal Dave has a more
user-friendly version here
.
Brandie Tarvin, MCITP Database Administrator, MCDBA, MCSA
Webpage
:
http://www.BrandieTarvin.net
LiveJournal Blog
:
http://brandietarvin.livejournal.com/
On
LinkedIn!
,
Google+
, and
Twitter
.
Freelance Writer:
Shadowrun
Latchkeys: Nevermore
,
Latchkeys: The Bootleg War
, and
Latchkeys: Roscoes in the Night
are now available on Nook and Kindle.
Post #1235583
thotvedt
thotvedt
Posted Friday, January 13, 2012 9:14 AM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, January 22, 2013 3:23 PM
Points: 28,
Visits: 109
This is a great alternative to setting up mail notifications on jobs without using SQL mail. It does have some limitations, but for failure/success notifications, it's great. And it's way less confusing to set up than SQL mail.
http://www.howtogeek.com/howto/database/sending-automated-job-email-notifications-in-sql-server-with-smtp/
Cheers.
Tom
Post #1235739
Brandie Tarvin
Brandie Tarvin
Posted Friday, January 13, 2012 9:18 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 12:22 PM
Points: 6,660,
Visits: 5,684
thotvedt (1/13/2012)
This is a great alternative to setting up mail notifications on jobs without using SQL mail. It does have some limitations, but for failure/success notifications, it's great. And it's way less confusing to set up than SQL mail.
SQL Mail no longer exists in 2008. DBMail is a different animal.
Brandie Tarvin, MCITP Database Administrator, MCDBA, MCSA
Webpage
:
http://www.BrandieTarvin.net
LiveJournal Blog
:
http://brandietarvin.livejournal.com/
On
LinkedIn!
,
Google+
, and
Twitter
.
Freelance Writer:
Shadowrun
Latchkeys: Nevermore
,
Latchkeys: The Bootleg War
, and
Latchkeys: Roscoes in the Night
are now available on Nook and Kindle.
Post #1235751
olingerd
olingerd
Posted Friday, January 13, 2012 9:51 AM
Forum Newbie
Group: General Forum Members
Last Login: Friday, June 01, 2012 12:43 PM
Points: 4,
Visits: 50
HI Brandie,
It looks like everything is fine and I am able to send a test email successfully but still no email job notification upon job completion (and yes I did check to see if it was set to send when complete)
Missing something here....
Post #1235816
Brandie Tarvin
Brandie Tarvin
Posted Friday, January 13, 2012 9:59 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 12:22 PM
Points: 6,660,
Visits: 5,684
olingerd (1/13/2012)
HI Brandie,
It looks like everything is fine and I am able to send a test email successfully but still no email job notification upon job completion (and yes I did check to see if it was set to send when complete)
Missing something here....
yes, and I bet I know what it is, but ... tip of my tongue and all that.
I'm going to do a bit of research and get back to you as soon as I remember what that darned issue is.
BTW, is the profile set to public? (This isn't what I'm thinking of, but it's good to know).
Brandie Tarvin, MCITP Database Administrator, MCDBA, MCSA
Webpage
:
http://www.BrandieTarvin.net
LiveJournal Blog
:
http://brandietarvin.livejournal.com/
On
LinkedIn!
,
Google+
, and
Twitter
.
Freelance Writer:
Shadowrun
Latchkeys: Nevermore
,
Latchkeys: The Bootleg War
, and
Latchkeys: Roscoes in the Night
are now available on Nook and Kindle.
Post #1235827
« Prev Topic
|
Next Topic »
14 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.