SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Mail - Error 22022: SQLServerAgent Error


SQL Mail - Error 22022: SQLServerAgent Error

Author
Message
kapcreations
kapcreations
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 1
We are trying to implement e-mail notifications when replication fails. When I go into Management > Operators, and add my name from the list of available Exchange addresses, I send a test message which pops up an error stating:

"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."

Can't seem to find the solution. Ideas?



Rodrigo Acosta
Rodrigo Acosta
SSCarpal Tunnel
SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)

Group: General Forum Members
Points: 4619 Visits: 22
To be able to use mail you must use a Domain login account for your sql serverices.
Once you have configured that log on into windows with that account and create a mail profile with that account from the control panel and Outlook. then configure SQL.
Also check for more info in the web, because mail setup can be complicated.



Rodrigo Acosta
Rodrigo Acosta
SSCarpal Tunnel
SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)

Group: General Forum Members
Points: 4619 Visits: 22
If you have everything configured, then check that SQL mail profiles.
From EM, over Support Services, SQL mail, right click, properties.
And SQL Server Agent, properties.



kapcreations
kapcreations
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 1
That did the trick. I had configured the MAPI software in control panel > administrative tools > Mail, but did not set EM to use the right profile. Thanks for the help.



technical.mgr
technical.mgr
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 1
I see this thread is very old, but am curious as I am having difficulty to set this up. My MAPI profile is set in control panel, when I go to EM, support services, SQL mail, right click properties I can see where to enter a profile, however I have no entries that are available in the drop down.

Does it matter what email service I am using -Exchange, POP3, IMAP?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search