Solved

xp_sendmail error

Posted on 2007-11-14
3
371 Views
Last Modified: 2008-02-01
This morning users reported the following:

Msg 18025, Level 16, State 1, Line 0
xp_sendmail: failed with mail error 0x80004005

Our SqlServer 2000 runs under Exchange 2003 SP3. I contacted IT tech support and was asked: " what service account did that sql request come from?". How can the service account issueing the send mail request be identified?

Thanks.
0
Comment
Question by:ksfok
  • 2
3 Comments
 
LVL 42

Expert Comment

by:EugeneZ
Comment Utility
<what service account did that sql request come from?".
MSSQL service NT account
You need to login on the box as the NT account and open MS outlook (MAPI profile needs to be created -> it is used for xp_sendmail
)


please revieW:

INF: How to Configure SQL Mail
http://support.microsoft.com/kb/263556/EN-US/
---
INF: Common SQL Mail Problems
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_22960711.html
---------------------
--if everything is fine on sql server site check:


http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_21664068.html


xp_sendmail using a Microsoft Exchange 2000 mailbox fails with mail error 0x80004005 or 0x80007005
http://support.microsoft.com/default.aspx/kb/293422

http://support.microsoft.com/default.aspx/kb/820220
0
 

Author Comment

by:ksfok
Comment Utility
Sorry the link you provided under "INF: Common SQL Mail Problems" is wrong. It sends back here.
0
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
Comment Utility


INF: Common SQL Mail Problems
http://support.microsoft.com/kb/315886
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Microsoft SQL query 7 37
ASP SQL Syntax Duplicate Key 7 64
Ranking Based On Value 3 28
SQL JOIN 6 31
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…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

772 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