How to configure Sql mail

Posted on 2008-11-13
Last Modified: 2012-05-05
We are using SQL 2000 SP 4 on one of our test servers, sql mail has never been configured by the DBA who has now left.

Microsoft Exchange client is installed and outlook is set as the default client  and profile when I look in Control Panel Mail.  However there is no email accounts set up and this is the same on our live servers which are working.

in Sql Agent we have Outlook as the Mail profile and I can test on that and get a successful session.
The account is a domain account and is setup on the exchange server as

when I go down to SQL Mail configuration, select Outlook (whcih is the profile name setup) I get the follwoing error

Error 18030: xp_test_mapi_profile:  Either there is no default mail client or the current mail client cannot fulfill the messaging request.  Please run Microsoft Outlook and set it as a the default Mail Client.

I ran the sql query statement  xp_startmail and got the result below:
Server: Msg 18030, Level 16, State 1, Line 0
xp_startmail: Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client.

It consultants assure me that Microsoft Outlook 2000 is  the default client.
Question by:Amanda Walshaw
    LVL 29

    Accepted Solution

    See attach file
    LVL 29

    Assisted Solution

    by:Kumaraswamy R
    Check out this URL:;en-us;263556&Product=sql2k


    You need to login as the SQL Agent on the machine, configure outlook, log
    off and re-start SQL Agent.

    Instructions for this are in the first URL I posted.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now