Article ID: 293422 - View products that this article applies to.
This article was previously published under Q293422
When SQLMail is set to use a MAPI profile that is configured against a Microsoft Exchange 2000 mailbox, an xp_sendmail command may fail with one of the following error messages:
18025 level 16 state 1 line 0 xp_sendmail failed with mail error 0x80004005
If you log into the mailbox on the SQL Server server by using a MAPI client, such as Microsoft Outlook, mail is sent successfully. Also, using a Microsoft Exchange 5.5 mailbox, instead of a Microsoft Exchange 2000 mailbox, works successfully.
18025 Level 16 State 1 Line 0 xp_sendmail failed with mail error 0x80070005
Exchange 2000 introduces a different security structure, Access Control List (ACL), because it is completely integrated into the Microsoft Windows 2000 Active Directory. This new ACL method requires permission for "Send As" to exist both at the Exchange 2000 Information Store level as well as the Active Directory level. In this case, the SQL Server service account does not have "Send As" rights at the Active Directory level, therefore xp_sendmail fails on the submit of a message.
To make sure that the Active Directory account the MSSQLServer service is logging in as has "Send As" rights on the Exchange 2000 mailbox object in the Active Directory, follow these steps:
Article ID: 293422 - Last Review: October 9, 2006 - Revision: 3.2