Microsoft KB Archive/71409

= Mac Hyp: Removing an Enclosure Before Sending a Message =

Article ID: 71409

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Mail Software Development Kit 3.0

-



This article was previously published under Q71409



SUMMARY
In the Microsoft Mail Software Development Kit (SDK) for HyperCard, the following function removes the enclosure, specified by the value of &quot;index&quot;, from the message in &quot;messageRef&quot;: msmail(removeEnclosure, messageRef, index) If index has a value of negative one (-1), all enclosures are removed.

This call should be used only for messages that have not yet been sent. Removing an enclosure from a sent message will not remove the enclosure from the server.

For example, to forward a message, but not the enclosures, use the following commands: put msmail (getMessage, messageType, messageID) into messageRef put msmail (createForward, messageRef) into forwardMessage get msmail (removeEnclosure, forwardMessage, -1) This information is taken from the &quot;Microsoft Mail HyperCard Interface Documentation.&quot;

Keywords: KB71409

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.