FIX: The @date_received parameter of the xp_readmail extended stored procedure incorrectly returns the date and the time that an e-mail message is submitted by the sender in SQL Server 2000

This article has been archived. It is offered "as is" and will no longer be updated.
Bug #: 356114 (SQL Server 8.0)




Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SUMMARY
This article describes the following about this hotfix release:
  • The issues that are fixed by this hotfix package.
  • The prerequisites for installing the hotfix package.
  • Whether you must restart your computer after you install the hotfix package.
  • Whether the hotfix package is replaced by any other hotfix package.
  • Whether you must make any registry changes.
  • The files that are contained in the hotfix package.

back to the top
SYMPTOMS
After you configure SQL Mail on your instance of SQL Server 2000, when you run the xp_readmail extended stored procedure to read the e-mail messages from your Microsoft SQL Server mail Inbox, the Date Received column in the output incorrectly displays the date and the time that the e-mail message was submitted by the sender instead of the date and the time that the e-mail message was received. You may notice that the values in the Date Received column in the output of the xp_readmail extended stored procedure are different from the values in the Received column in the Inbox of a mail client such as Microsoft Outlook.

Note The Date Received column in the output corresponds to the @date_received parameter of the xp_readmail extended stored procedure.

For a list of previous hotfixes, see the "Microsoft SQL Server 2000 post-Service Pack 3 or Microsoft SQL Server 2000 post-Service Pack 3a hotfixes" section in the following Microsoft Knowledge Base article:
290211 How to obtain the most recent SQL Server 2000 service pack
back to the top
RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For more 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

Hotfix information

Prerequisites

This hotfix requires Microsoft SQL Server 2000 Service Pack 3 (SP3).

For information about how to obtain SQL Server 2000 SP3, see the following article in the Microsoft Knowledge Base:
290211 How to obtain the most recent SQL Server 2000 Service Pack

back to the top

Restart information

You do not have to restart your computer after you apply this hotfix.

Note You must restart your instance of SQL Server 2000 after you apply this hotfix.

back to the top

Registry information

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

You must add the
UseMessageDeliveryTime
DWORD registry value to the following registry key, and then set the value to 1.
  • For a default instance of SQL Server 2000, use the following registry key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\MSSQLServer
  • For a named instance of SQL Server 2000, use the following registry key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\<Instance Name>\MSSQLServer


    Note The
    HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\<Instance Name>\MSSQLServer
    registry key may have to be created manually.
back to the top

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later) 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.

SQL Server 2000 32-bit (x86)
   Date         Time   Version         Size       File name   ----------------------------------------------------------------------   23-Jun-2004  07:12  2000.80.955.0     664,128  Autoplt.dll         23-Jun-2004  07:34  2000.80.955.0      78,400  Console.exe         23-Jun-2004  07:53  2000.80.955.0     315,968  Custtask.dll        23-Jun-2004  07:13  2000.80.955.0      33,340  Dbmslpcn.dll        08-Apr-2004  09:12                    786,432  Distmdl.ldf   08-Apr-2004  09:12                  2,359,296  Distmdl.mdf   10-Oct-2003  06:18                        180  Drop_repl_hotfix.sql   23-Jun-2004  07:50  2000.80.955.0   1,905,216  Dtspkg.dll          23-Jun-2004  08:04  2000.80.955.0     528,960  Dtspump.dll         23-Jun-2004  08:08  2000.80.955.0   1,557,052  Dtsui.dll           23-Jun-2004  08:07  2000.80.955.0     639,552  Dtswiz.dll          10-Oct-2003  06:18                    747,927  Instdist.sql   10-Oct-2003  06:18                      1,581  Inst_repl_hotfix.sql   23-Jun-2004  08:15  2000.80.955.0     352,828  Isqlw.exe           23-Jun-2004  08:06  2000.80.955.0      82,492  Itwiz.exe           23-Jun-2004  07:12  2000.80.955.0      90,692  Msgprox.dll         19-May-2004  11:13  8.11.40209.0      209,408  Mssdi98.dll         23-Jun-2004  07:15  2000.80.955.0      62,024  Odsole70.dll        23-Jun-2004  08:10  2000.80.955.0      25,144  Opends60.dll        23-Jun-2004  07:15  2000.80.955.0      57,904  Osql.exe            23-Jun-2004  07:56  2000.80.955.0     279,104  Pfutil80.dll        10-Oct-2003  06:07                    550,780  Procsyst.sql   08-Apr-2004  09:12                     12,305  Qfe469315.sql   08-Apr-2004  09:12                     19,195  Qfe469571.sql   23-Jun-2004  08:52                  1,105,167  Replmerg.sql   23-Jun-2004  07:24  2000.80.955.0     221,768  Replprov.dll        23-Jun-2004  07:27  2000.80.955.0     307,784  Replrec.dll         23-Jun-2004  07:16  2000.80.955.0     159,813  Replres.rll   10-Oct-2003  06:18                  1,087,150  Replsys.sql   10-Oct-2003  06:18                    986,603  Repltran.sql   23-Jun-2004  07:32  2000.80.955.0     287,304  Rinitcom.dll        23-Jun-2004  07:13  2000.80.955.0      78,416  Sdiclnt.dll         23-Jun-2004  06:59  2000.80.955.0      66,112  Semmap.dll          23-Jun-2004  07:04  2000.80.955.0      57,916  Semnt.dll           23-Jun-2004  07:59  2000.80.955.0     492,096  Semobj.dll          23-Jun-2004  07:55  2000.80.955.0     172,032  Semobj.rll   23-Jun-2004  07:24  2000.80.955.0      53,832  Snapshot.exe        11-Mar-2004  14:40                    117,834  Sp3_serv_uni.sql   23-Jun-2004  07:06  2000.80.955.0      28,672  Sqlagent.dll        23-Jun-2004  07:10  2000.80.955.0     311,872  Sqlagent.exe        23-Jun-2004  07:26  2000.80.955.0     168,001  Sqlakw32.dll        23-Jun-2004  07:11  2000.80.955.0      33,344  Sqlctr80.dll        23-Jun-2004  08:02  2000.80.955.0   4,215,360  Sqldmo.dll          23-Jun-2004  07:26                     25,172  Sqldumper.exe       23-Jun-2004  07:01  2000.80.955.0      28,672  Sqlevn70.rll   23-Jun-2004  07:33  2000.80.955.0     180,792  Sqlmap70.dll        23-Jun-2004  08:06  2000.80.955.0     188,992  Sqlmmc.dll          23-Jun-2004  08:03  2000.80.955.0     479,232  Sqlmmc.rll   23-Jun-2004  08:00  2000.80.955.0     401,984  Sqlqry.dll          23-Jun-2004  07:29  2000.80.955.0      57,920  Sqlrepss.dll        23-Jun-2004  07:11  2000.80.955.0   7,512,640  Sqlservr.exe        23-Jun-2004  07:02  2000.80.955.0     590,396  Sqlsort.dll         23-Jun-2004  07:30  2000.80.955.0      45,644  Sqlvdi.dll          23-Jun-2004  07:29  2000.80.955.0     106,588  Sqsrvres.dll        23-Jun-2004  07:13  2000.80.955.0      33,340  Ssmslpcn.dll        23-Jun-2004  07:15  2000.80.955.0      82,492  Ssnetlib.dll        23-Jun-2004  07:41  2000.80.955.0      25,148  Ssnmpn70.dll        23-Jun-2004  07:32  2000.80.955.0     123,456  Stardds.dll         23-Jun-2004  07:34  2000.80.955.0     158,240  Svrnetcn.dll        23-Jun-2004  07:33  2000.80.955.0      76,416  Svrnetcn.exe        23-Jun-2004  07:39  2000.80.955.0      53,808  Ums.dll             23-Jun-2004  07:34  2000.80.955.0      98,872  Xpweb70.dll      


SQL Server 2000 64-bit (IA-64)
   Date         Time   Version            Size    File name              Environment   ----------------------------------------------------------------------------------   29-Jun-2004  08:16  2000.80.955.0      56,832  Dbmslpcn.dll           IA-64   08-Apr-2004  09:12                    786,432  Distmdl.ldf   08-Apr-2004  09:12                  2,359,296  Distmdl.mdf   10-Oct-2003  06:18                        180  Drop_repl_hotfix.sql   29-Jun-2004  08:14  2000.80.955.0     528,960  Dtspump.dll            x86   10-Oct-2003  06:18                    747,927  Instdist.sql   10-Oct-2003  06:18                      1,581  Inst_repl_hotfix.sql   29-Jun-2004  08:16  2000.80.955.0     185,856  Msgprox.dll            IA-64   19-May-2004  11:13  8.11.40517.0      722,944  Mssdi98.dll            IA-64   29-Jun-2004  08:16  2000.80.955.0     150,528  Odsole70.dll           IA-64   29-Jun-2004  08:17  2000.80.955.0      27,136  Opends60.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0     148,992  Osql.exe               IA-64   10-Oct-2003  06:07                    550,780  Procsyst.sql   08-Apr-2004  09:12                     12,305  Qfe469315.sql   08-Apr-2004  09:12                     19,195  Qfe469571.sql   23-Jun-2004  08:52                  1,105,167  Replmerg.sql   29-Jun-2004  08:16  2000.80.955.0     534,016  Replprov.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0     769,536  Replrec.dll            IA-64   23-Jun-2004  08:59  2000.80.955.0     146,432  Replres.rll   10-Oct-2003  06:18                  1,087,150  Replsys.sql   10-Oct-2003  06:18                    986,603  Repltran.sql   29-Jun-2004  08:16  2000.80.955.0     650,240  Rinitcom.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0     160,768  Semmap.dll             IA-64   29-Jun-2004  08:16  2000.80.955.0     132,608  Semnt.dll              IA-64   29-Jun-2004  08:16  2000.80.955.0      89,088  Snapshot.exe           IA-64   11-Mar-2004  14:40                    117,834  Sp3_serv_uni.sql   29-Jun-2004  08:14  2000.80.955.0      10,240  Sqlagent.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0   1,055,232  Sqlagent.exe           IA-64   29-Jun-2004  08:16  2000.80.955.0      32,256  Sqlctr80.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0  13,845,504  Sqldmo.dll             IA-64   29-Jun-2004  08:16                     39,936  Sqldumper.exe          IA-64   23-Jun-2004  08:34  2000.80.955.0      19,968  Sqlevn70.rll   29-Jun-2004  08:16  2000.80.955.0      23,040  Sqlmap70.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0     152,064  Sqlrepss.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0  30,108,160  Sqlservr.exe           IA-64   29-Jun-2004  08:16  2000.80.955.0     616,960  Sqlsort.dll            IA-64   29-Jun-2004  08:16  2000.80.955.0     120,320  Sqlvdi.dll             IA-64   29-Jun-2004  08:16  2000.80.955.0     227,328  Sqsrvres.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0      53,760  Ssmslpcn.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0     254,976  Ssnetlib.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0      20,992  Ssnmpn70.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0     430,080  Svrnetcn.dll           IA-64   29-Jun-2004  08:16  2000.80.955.0     185,856  Svrnetcn.exe           IA-64   29-Jun-2004  08:16  2000.80.955.0     187,392  Xpweb70.dll            IA-64


Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.back to the top
STATUS
Microsoft has confirmed that this is a bug 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.

back to the top
MORE INFORMATION
For more information about SQL Mail, visit the following Microsoft Developer Network (MSDN) Web sites:





For additional information about SQL Mail, click the following article number to view the article in the Microsoft Knowledge Base:
311231 INF: Frequently Asked Questions - SQL Server - SQL Mail
For additional information about the naming schema for Microsoft SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages
For additional information about the terminology that Microsoft uses when correcting software after it is released, click the following article number to view the article in the Microsoft Knowledge Base:
824684Description of the standard terminology that is used to describe Microsoft software updates
back to the top
SQL Mail xp_readmail @date_received MAPI
Properties

Article ID: 867798 - Last Review: 01/17/2015 10:58:44 - Revision: 3.4

  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000, Workgroup Edition
  • Microsoft SQL Server 2000 Desktop Engine (Windows)
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit
  • kbnosurvey kbarchive kbdatetime kbsqlservmail kbregistry kbbug kbfix kbsqlserv2000presp4fix kbhotfixserver kbqfe KB867798
Feedback