Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

If you use Dexterity custom code to send an e-mail message that has a PDF attachment, the PDF attachment is sent as a .dat file or is missing


Symptoms

If you run custom Dexterity code that uses the MAPI_Send() function to attach a file in PDF format to an e-mail message, you experience one of the following symptoms:
  • The file attachment appears incorrectly as Winmail.dat instead of in the PDF format that you selected.
  • The file attachment appears to be missing even though it was attached to the e-mail message.

↑ Back to the top


Cause

The Microsoft Exchange Server settings may cause the attachment to be sent in RTF format.

Client e-mail systems can receive e-mail messages that have an attachment. However, if the e-mail systems do not support RTF, the attachment cannot be separated correctly from the body of the message.

↑ Back to the top


Resolution

To resolve this issue, modify the Exchange Server settings.

For more information about Microsoft Exchange Server settings, click the following article numbers to view the articles in the Microsoft Knowledge Base:

841668 A mail-enabled contact may receive a Winmail.dat file attachment with an SMTP e-mail message instead of receiving the correct file attachment in Exchange 2000 Server


181953 Sending RTF with attachment as MIME loses attachment

821750 How to configure Internet e-mail message formats at the user and the domain levels in Exchange Server 2003

↑ Back to the top


More Information

Steps to reproduce the issue

  1. Create a Dexterity customization by using the MAPI function library as described in the Dexterity Function Library Reference manual. Or, create the customization by using the MAPI dictionary.

    Note The MAPI dictionary is available as a download from Sample Applications for Dexterity on PartnerSource. To obtain the file, visit the appropriate PartnerSource Web site:

    Dexterity 10.0Dexterity 9.0
  2. Send an e-mail message to a user who is outside your global access list.

↑ Back to the top


Keywords: kbexpertiseadvanced, kbmbspartner, kbexpertisebeginner, kbtshoot, kbmbsmigrate, kbprb, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 939915
Revision : 1
Created on : 1/7/2017
Published on : 7/14/2012
Exists online : False
Views : 88