473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

send email to me when job fails

1. I'm trying to get the notifications working on the scheduled jobs.
I want to email me when the job fails. I created an operator
(dmalhotr) and given me as the email address.

Here is the error what I'm getting when I'm pressing the test button
to email myself in properties dmalhotr operator (hope that makes
sense).

Error 22022: sqlserveragent error: the sqlserveragent mail session is
not running; check the mail profile and/or the sqlserveragent service
startup account in the sqlserveragent properties dialog.

I cancel out of it. Then I go to support services --> sql mail -->
right-click properties (WE HAVE LOTUS NOT EXCHANGE HERE- dont know
whether that makes a difference).

It says profile name Outlook and I click test. It says Successfully
started (and stopped) a MAPI session with this profile.

I go back to the operator and then click test to send email and I get
the same error. I started and stopped sql server agent and still get
the same error.

Not sure how this works, please send me an email as to what I'm doing
wrong

Thanks

:DHRUV
Jul 20 '05 #1
1 4341
Hi

SQL Agent Mail needs to be set up separately to SQL Mail. See the following
on how to set it up:
http://msdn.microsoft.com/library/de...rverE-mail.asp

John

"Dhruv" <dm**********@yahoo.com> wrote in message
news:b6*************************@posting.google.co m...
1. I'm trying to get the notifications working on the scheduled jobs.
I want to email me when the job fails. I created an operator
(dmalhotr) and given me as the email address.

Here is the error what I'm getting when I'm pressing the test button
to email myself in properties dmalhotr operator (hope that makes
sense).

Error 22022: sqlserveragent error: the sqlserveragent mail session is
not running; check the mail profile and/or the sqlserveragent service
startup account in the sqlserveragent properties dialog.

I cancel out of it. Then I go to support services --> sql mail -->
right-click properties (WE HAVE LOTUS NOT EXCHANGE HERE- dont know
whether that makes a difference).

It says profile name Outlook and I click test. It says Successfully
started (and stopped) a MAPI session with this profile.

I go back to the operator and then click test to send email and I get
the same error. I started and stopped sql server agent and still get
the same error.

Not sure how this works, please send me an email as to what I'm doing
wrong

Thanks

:DHRUV

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ryan | last post by:
Hi, I receive an access denied error (see below) when attempting to send an email with BodyFormat=MailFormat.Html from an asp.net page. Exactly the same code works fine in a console...
11
by: hazz | last post by:
smtpClient.Send(message) is causing me problems as per specifics in the trace below. Email is sent but not without this error typically upon sending the second email, but sometimes when running...
1
by: mfreeman | last post by:
I have a VB.NET 2005 Windows application that worked fine when I ran it a month ago, and now it is throwing an exception ("The remote server returned an error: (500) Internal Server Error.") and I...
14
by: Professor Yonce | last post by:
I have made form for E-Mail. I have entered code but the Import system does not work. It has squiggly line underneath it showing it is not communicating. It Will not build. Public Class...
7
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee...
7
by: cj | last post by:
Has anyone figured out a way with VB2005 to send a numeric message to a pager using a common 56kb modem?
16
by: bgreer5050 | last post by:
I have a form with the following fields: UserEmail Subject Body When the form is submitted, the email is processed fine. When I try to add another field to the mm.body (mm.Body = Body.Text...
7
by: John Straumann | last post by:
Hi all: I am trying to write some code to send an email from an Assembly file, and found some examples on MSDN. However when I run the program (I am using a console app for testing), the email...
4
by: gurufordy | last post by:
Hello. Trying to use the ASP.net user functionality but it keeps failing on me. I have created a login and registration page for my site. When you fill in the registration form it should send a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.