Solved

xp_sendmail failed with mail error 0x80040111

Posted on 2001-09-03
7
13,361 Views
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..

ok..
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
0
Comment
Question by:megatshamsul
7 Comments
 
LVL 9

Expert Comment

by:miron
ID: 6452456
SQL Server service pack 1 might solve it. More help is available on Microsoft support website at http://suppoprt.microsoft.com,

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

Expert Comment

by:krispols
ID: 6452482
0
 

Author Comment

by:megatshamsul
ID: 6452562
nope!

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

any idea?

megat shamsul.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Author Comment

by:megatshamsul
ID: 6452589
guys,

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.
0
 
LVL 6

Accepted Solution

by:
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.
0
 

Author Comment

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

thanks to curtis...

megat shamsul.
0
 

Expert Comment

by:edwardp
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?
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how the fundamental information of how to create a table.

770 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