You are currently offline, waiting for your internet to reconnect

FIX: SQLMail Incorrectly Uses Default Mail Profile

This article was previously published under Q291273
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 352271 (SHILOH_bugs)
SQL Mail may start using the default mail profile, and not the mail profile configured for SQL Mail. This occurs when SQL Mail is not started with the xp_startmail extended stored procedure, but is instead started by a the first call to xp_sendmail, xp_readmail, xp_findnextmsg, xp_deletemail, or sp_processmail.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
To work around this behavior either:
  • Set the Mail profile for SQL Mail to the Default profile.

  • Explicitly start SQL Mail by using xp_startmail.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
SQL Server 2000 does not start SQL Mail when the server starts. Instead, the first call to xp_sendmail, xp_readmail, xp_findnextmsg, xp_deletemail, or sp_processmail starts SQL Mail. Although xp_startmail does check for a configured mail profile other than the default profiles, the other procedures do not.

Article ID: 291273 - Last Review: 01/16/2015 21:51:52 - Revision: 3.2

Microsoft SQL Server 2000 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB291273