Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Setting up email for Operator in SQL2000 - ERROR

 
   Database Help (Home) -> Notification Services RSS
Next:  Failure commiting Event Batches  
Author Message
ant5

External


Since: Nov 21, 2004
Posts: 17



(Msg. 1) Posted: Wed Mar 19, 2008 12:08 am
Post subject: Setting up email for Operator in SQL2000 - ERROR
Archived from groups: microsoft>public>sqlserver>notificationsvcs (more info?)

Hi,
I'm trying to set up an Email name for an operator to be used inSQL Agent.

When I test the Email Name, I get an error:
>
Error 22022: SQL Server Agent Error: The SQL Server Agent Mail session is
not running: Check the mail profile and/or the SQL Server Agent Service
startup account in the SQL Server Agent Properties dialog box.
>
I have setup a non human account in AD called sqlmail. I can send email from
it no problem.

I have tried both using sqlmail & its pwd as the Service Startup account &
also tried using the System account. Neither of these seem to work.
I have also added sqlmail.TakeThisOut@ourdomain.com as the Mail Profile

but always get the same error.

Would anybody know what is going wrong here. I'd be most appreciative if
somebody could help out on this one.

Many thanks
Ant

 >> Stay informed about: Setting up email for Operator in SQL2000 - ERROR 
Back to top
Login to vote
Bigadds

External


Since: Apr 15, 2008
Posts: 1



(Msg. 2) Posted: Tue Apr 15, 2008 7:51 am
Post subject: RE: Setting up email for Operator in SQL2000 - ERROR [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hi

i am a noob but set up mail notification today. after alot of hair pulling
i found i had to go to the proprties of the server agent and select alert
system and then enable database mail. then choose database mail.

hope this helps

"Ant" wrote:

> Hi,
> I'm trying to set up an Email name for an operator to be used inSQL Agent.
>
> When I test the Email Name, I get an error:
> >
> Error 22022: SQL Server Agent Error: The SQL Server Agent Mail session is
> not running: Check the mail profile and/or the SQL Server Agent Service
> startup account in the SQL Server Agent Properties dialog box.
> >
> I have setup a non human account in AD called sqlmail. I can send email from
> it no problem.
>
> I have tried both using sqlmail & its pwd as the Service Startup account &
> also tried using the System account. Neither of these seem to work.
> I have also added sqlmail RemoveThis @ourdomain.com as the Mail Profile
>
> but always get the same error.
>
> Would anybody know what is going wrong here. I'd be most appreciative if
> somebody could help out on this one.
>
> Many thanks
> Ant
>
>
>
>
>
>

 >> Stay informed about: Setting up email for Operator in SQL2000 - ERROR 
Back to top
Login to vote
ant5

External


Since: Nov 21, 2004
Posts: 17



(Msg. 3) Posted: Wed Apr 16, 2008 12:10 am
Post subject: RE: Setting up email for Operator in SQL2000 - ERROR [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Bigadds,

I very much appreciate your reply.
I went to the Alert System tab but there was no 'Enable Database mail'
option.
There is only a choice of Notifying via email/pager/not send however this is
already ticked for email. Just for your information I'm using SQL2000 so
possibly we're using different versions

Many thanks

Ant


"Bigadds" wrote:

> hi
>
> i am a noob but set up mail notification today. after alot of hair pulling
> i found i had to go to the proprties of the server agent and select alert
> system and then enable database mail. then choose database mail.
>
> hope this helps
>
> "Ant" wrote:
>
> > Hi,
> > I'm trying to set up an Email name for an operator to be used inSQL Agent.
> >
> > When I test the Email Name, I get an error:
> > >
> > Error 22022: SQL Server Agent Error: The SQL Server Agent Mail session is
> > not running: Check the mail profile and/or the SQL Server Agent Service
> > startup account in the SQL Server Agent Properties dialog box.
> > >
> > I have setup a non human account in AD called sqlmail. I can send email from
> > it no problem.
> >
> > I have tried both using sqlmail & its pwd as the Service Startup account &
> > also tried using the System account. Neither of these seem to work.
> > I have also added sqlmail.TakeThisOut@ourdomain.com as the Mail Profile
> >
> > but always get the same error.
> >
> > Would anybody know what is going wrong here. I'd be most appreciative if
> > somebody could help out on this one.
> >
> > Many thanks
> > Ant
> >
> >
> >
> >
> >
> >
 >> Stay informed about: Setting up email for Operator in SQL2000 - ERROR 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How do I get email notification working - I have been given the job of database administrator. I very good at SQL programming, but am just learning about things like backups, replication, etc. and am VERY shaky on anything involving network administration. I am not the one who installed Sq...

Email query result - Hi, I am new to SQL 2005. I was trying to set up SQL agent to send a query result via email. EXEC msdb.dbo.sp_send_dbmail @recipients = 'user@company.com', @query = 'SELECT * FROM msdb.dbo.DASD, @subject = 'DB Space', ..

acheter zocor par email commander comprime de achat zocor .. - acheter zocor par email commander comprime de achat zocor canada achat zocor suisse soft generique Achat achat zocor Simple achat zocor pharmacie +++ Cholestérol +++ Cholestérol +++ Cholestérol +++ + ACHETER ZOCOR BON MARCHE (ALL CARDS ACCEPTED..

Mapi error - I am trying set up notfication so it emails when jobs fail etcc. I am using sql server 2000 service pack 3A i have set up a mail profile and when I go into enterprise manger and go to test sql mail it says it opens and closes my mapi connection fine.....

NSService error - Dear Group can you please help me resolve this issue Thanks, Prabhukiran D:\DatabaseSQLServer2005\90\NotificationServices>cd 9.0.242\bin D:\DatabaseSQLServer2005\90\NotificationServices\9.0.242\bin>nsservice -alerts - a Microsoft SQL Server..
   Database Help (Home) -> Notification Services All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]