SMTP: Break Absolute Option (-BT) Stops Gateway Immediately

Last reviewed: October 20, 1997
Article ID: Q96203
3.00 MS-DOS kb3rdparty

The information in this article applies to:

  • Microsoft Mail Gateway to SMTP, version 3.0

When the Microsoft Mail Gateway to SMTP version 3.0 command line includes the -BThh:mm (Break Absolute Time) option switch, the program may stop immediately after it starts. This problem occurs when the specified tile is earlier than the current time on the system clock. This is not an error in the gateway program because the default absolute date is the current system date.

When you use the -BT option with the SMTP gateway, use the -BDmm-dd-yy option as well. Doing so allows the absolute break time to specify a time after midnight.

Note: The gateway does not break at the time specified in the -BT option; it breaks on the check for outgoing mail that follows the specified time. Use the -Wnnn (wait option) to specify the delay between checks for outgoing mail; the default wait period is 120 seconds (2 minutes).

Example

At 11:00 a.m. on January 14, 1993, you want to set the SMTP gateway to run until 1:00 a.m. on January 15, 1993. If you enter the following command, the gateway stops immediately because 1:00 a.m. on January 14, 1993 has already passed:

   SMTPGATE -DM -BT01:00

However, if you enter the following command, the gateway runs until after 1:00 a.m. on January 15, 1993, as desired:

   SMTPGATE -DM -BT01:00 -BD01-15-93


Additional reference words: 3.00
KBCategory: kb3rdparty
KBSubcategory: MailGWSMTP


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.