Solved

SQL Mail Error : A MAPI error 16389 while setting mail account

Posted on 2003-12-10
4
1,901 Views
Last Modified: 2012-06-21
Hi,
on my sql 7 with sp4 on win2k sp2, when i am setting up a sql mail account using Lotus SMTP server ip with outlook express configured on local server,
it is showing me an error when i am setting sql mail configuration using enterprises manager sql mail...
TITLE: - Microsoft SQL-DMO (ODBC SQL STATE : 42000)
Error 22030: A MAPI error(error number : 16389) occured:

do i have to install outlook 2000 or sql mail can work with outlook express, though i can send mails using xp_sendmail and xp_startmail can also start the mail session... but when i set sql mail operator it showing me this message: -

TITLE: - Microsoft SQL-DMO (ODBC SQL STATE : 42000)
Error 22022: SQLServerAgent 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 property dialog.

Please let me know where from i can correct sql mail...
--Thanks in advance.
Deepak
0
Comment
Question by:deepakontheweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Accepted Solution

by:
Dexstar earned 200 total points
ID: 9913885
@deepakontheweb:

> do i have to install outlook 2000 or sql mail can work with outlook express,
> though i can send mails using xp_sendmail and xp_startmail can also start the
> mail session... but when i set sql mail operator it showing me this message: -

It doesn't have to be Outlook, but it can't be Outlook Express.  It requires a MAPI client (like the old sk00l Exchange client, or now, Outlook).

This page from MS tells you how to set it up:
       http://support.microsoft.com/?kbid=263556

It confirms that it has to be a MAPI client, so the easiest thing to do is to log in to the server using the Service Account that you've set up, and install Outlook.

Hope That Helps,
Dex*
0
 
LVL 26

Assisted Solution

by:Alan Warren
Alan Warren earned 200 total points
ID: 9919742
Hi deepakontheweb,

This is what I found to work.
Set the startup account for SQL Server Agent to the same account used to start SQL Server. I used a domain/user account.
Install outlook on the machine that has sql server installed, and set it up for the same domain/user/account used to start sql server and a sql server agent.

Then set up SQL mail:
Expand Support Services in Query Analyser and right click SQL Mail and choose properties.
For the Profile name type: Microsoft Outlook Internet Settings then choose test.
If you get through the test it's all pretty straightforward from there.

Like Dex said, I'm pretty sure that outlook express is not up to the task.

Alan :)

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question