PC Win: Word for Windows Attachment Name Truncates When Sending

Last reviewed: October 24, 1995
Article ID: Q106508
The information in this article applies to:
  • Microsoft Mail for PC Networks, versions 3.0b and 3.2
  • Microsoft Word version 2.0 for Windows

SYMPTOMS

With versions 3.0b and 3.2 of Microsoft Mail for Windows, when you mail a document as an attachment from Word for Windows, the last character of the attachment's name is changed to an underscore character (_).

For example, if you send the SAMPLE.DOC file using the File Send command, the attachment name in the mail message is changed to SAMPL_.DOC.

CAUSE

When the document is mailed, a temporary copy of the document is created. Word for Windows creates this temporary copy in the current working directory and this copy is then renamed to have the same name as the document being mailed. Because this directory contains both the temporary copy and the original copy, the temporary copy cannot have the same name as the document being mailed. Therefore, the name chosen is the same name as the original document, but with the last character replaced with an underscore character.

RESOLUTION

To resolve this difference, use the SendMail macro provided with Microsoft Mail for Windows. You can install this macro by running the SMIINST.DOT macro, which is located in the directory where the Microsoft Mail Windows client is installed on the server.

MORE INFORMATION

Before you run the SMIINST.DOT macro, close all copies of Microsoft Word for Windows that may be open. When you run the SMIINST.DOT macro, a copy of Microsoft Word is started and a dialog box appears, asking you where the SendMail macro should be installed.

Normally, the macro is installed in the NORMAL template and is added to the File menu.


Additional reference words: 3.00b 3.20 winword dash hyphen different
KBCategory: kbinterop kbusage kbtlc
KBSubCategory: MailPCWin


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 24, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.