Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 13415
  • Last Modified:

xp_sendmail failed with mail error 0x80040111

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
megatshamsul
Asked:
megatshamsul
1 Solution
 
mironCommented:
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
 
krispolsCommented:
0
 
megatshamsulAuthor Commented:
nope!

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

any idea?

megat shamsul.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
megatshamsulAuthor Commented:
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
 
curtis591Commented:
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
 
megatshamsulAuthor Commented:
so,
i did change the setting in profile from nt authentication to sa... and after reboot, IT WORK!!

thanks to curtis...

megat shamsul.
0
 
edwardpCommented:
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now