BUG: xp_findnextmsg Followed by xp_readmail May Cause Error 35909 (206587)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q206587

SYMPTOMS

Executing xp_findnextmsg followed by xp_readmail may cause SQL MAIL to stop, with the following exception error, when reading a message sent by the System Administrator:
Msg 35909, Level 18, State 1 EXCEPTION error encountered in MAPI extended procedures, exception error code = 0xC0000005

WORKAROUND

Removing any of the parameters listed in the MORE INFORMATION section will result in the stored procedure working correctly.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 6.5.

MORE INFORMATION

An example of a message that causes this problem is an Undeliverable message returned by the System Administrator.

You must use the following parameters to encounter the problem:
   @msg_id
   @suppress_attach
   @subject
   @message
   @unread
   @skip_bytes 
				

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbBug kbpending KB206587