Microsoft KB Archive/62173

= Mac Hyp: Tips for Using the msmail Function =

Article ID: 62173

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Mail Software Development Kit (SDK) for HyperCard 2.0
 * Microsoft Mail Software Development Kit 3.0

-



This article was previously published under Q62173



SUMMARY
Because msmail is a HyperTalk function, it always returns a value.

This holds true even in cases when the effect of the msmail function, rather than the result it returns, is the purpose of the msmail call. For instance, when using the sendMessage call, the value the msmail function returns is unimportant; what is important is the effect: mail is sent over the network to the server.

In cases like these, the result of the msmail function must be redirected; otherwise, HyperCard will put the result into the message box. To keep the message box from appearing, use the HyperCard &quot;get&quot; command, which will absorb the result of the function by putting it into the HyperCard global &quot;it&quot;. For example:   get msmail (sendMessage, myMessage) This information is taken from the &quot;Microsoft Mail HyperCard Interface Documentation.&quot;

Keywords: KB62173

-

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

© Microsoft Corporation. All rights reserved.