Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xp_sendmail not working 1

Status
Not open for further replies.

mebenz

IS-IT--Management
Jun 7, 2007
88
CA
THis was working for over a year, but for the last 2 weeks, none of the jobs I have running that use this procedure are failing with error "xp_sendmail: failed with mail error 0x80004005 [SQLSTATE 42000] (Error 18025). The step failed."

SQL Agent has been stopped and started many times.
I have verfied the mail profile setup in sql is correct, I can open Outlook on the server and send and receive emails.
I can send an email to an operator.

Why does everything else run but this one does not? I have checked everything online. Our exchange server has not been adjusted in the least.
 
xp_sendmail doesn't use the SQL Agent mail to send email. It uses SQL Mail. Try stopping and starting SQL Mail using the xp_stopmail and xp_startmail procedures.

Were any domain controllers rebooted or decommissioned two weeks ago?

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

My Blog
 
OMG, I have been trying find where the stop and start is for this for ages! Thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top