SQL Mail - Error 22022: SQLServerAgent Error

  • 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?

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

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

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

  • 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?

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply