This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 363735 (SHILOH_BUGS)
In SQL Server 2000, the xp_readmail stored procedure returns NULL in the attachment column if the mail message contains an attachment whose type is Message Format (*.msg).
This problem occurs because when a mail message contains an attachment whose type is Message Format, it is marked as embedded and does not have a title. When this configuration occurs, SQL Server 2000 does not know how to continue.
Service pack information
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 How to obtain the latest SQL Server 2000 service pack
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.
After you apply this hotfix, if you receive a mail message that has an attachment whose type is Message Format, the attachment is saved with a .tmp file name extension. The saved copy is actually the original .msg file that has been reformatted as a text document.
For additional information about another hotfix that permits you to save an attachment whose type is Message Format, click the following article number to view the article in the Microsoft Knowledge Base:
814894 FIX: The Xp_readmail Stored Procedure Only Saves the Text of an Embedded Attachment