FIX: SQLMail Incorrectly Uses Default Mail Profile

Article translations Article translations
Article ID: 291273 - View products that this article applies to.
This article was previously published under Q291273
BUG #: 352271 (SHILOH_bugs)
Expand all | Collapse all

SYMPTOMS

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.

RESOLUTION

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 the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

WORKAROUND

To work around this behavior either:
  • Set the Mail profile for SQL Mail to the Default profile.

    -or-
  • Explicitly start SQL Mail by using xp_startmail.

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

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.

Properties

Article ID: 291273 - Last Review: November 6, 2003 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB291273

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com