xp_sendmail failed with mail error 0x80040111

Posted on 2001-09-03
Last Modified: 2011-08-18
hi experts,

i don't know if this question has been asked before or not... i try to search the experts-exchange AND it ALWAYS timeout..

i've exchange2k and sql2k both running on same machine win2k sp1

i already configure mail profile in sql server agent/properties using sql service account... event i already test in in sql mail configuration, click on test button... and it says successfull start and stop mapi session using the abobe profile...

but, when i execute it in sql query analyzer, it give me the error msg
xp_sendmail: failed with mail error 0x80040111

any idea?
thanks in advance,
megat shamsul
Question by:megatshamsul

Expert Comment

ID: 6452456
SQL Server service pack 1 might solve it. More help is available on Microsoft support website at,

search by "0x80040111" error number and chose "All Products" good luck!

Expert Comment

ID: 6452482

Author Comment

ID: 6452562

i try it (installing sp1) already.. no luck!

any idea?

megat shamsul.
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Author Comment

ID: 6452589

i already try with xp_startmail..
it give the message 'SQL Mail session started.'

but, when i execute the xp_sendmail 'to_some_user','with_some_subject'

it give me the same error... why?

megat shamsul.

Accepted Solution

curtis591 earned 50 total points
ID: 6457471
We had the same error message with our Server. One thing that I remember from it that it will work if you are using a SQL login but if you use NT Authentication it will not.  To fix the problem we had to rebuild the profile and then stop and start the sql mail service.  There may have been a server reboot in there also.

Author Comment

ID: 6459245
i did change the setting in profile from nt authentication to sa... and after reboot, IT WORK!!

thanks to curtis...

megat shamsul.

Expert Comment

ID: 14080490
In what profile did you make the change?  Are you referring to the mail profile that's configured on the SQL server itself?

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

911 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

20 Experts available now in Live!

Get 1:1 Help Now