DOCUMENT:Q62173 09-NOV-1999 [macmail] TITLE :Mac Hyp: Tips for Using the msmail() Function PRODUCT :Microsoft Mail For Appletalk Networks PROD/VER::2.0,3.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Mail Software Development Kit (SDK) for HyperCard, versions 2.0, 3.0 ------------------------------------------------------------------------------- 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 "get" command, which will absorb the result of the function by putting it into the HyperCard global "it". For example: get msmail (sendMessage, myMessage) This information is taken from the "Microsoft Mail HyperCard Interface Documentation." Additional query words: ====================================================================== Keywords : Technology : kbHWMAC kbOSMAC kbAudDeveloper kbMailSearch kbSDKSearch kbSDKMailHypercard200 kbSDKMailHypercard300 Version : :2.0,3.0 ============================================================================= 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. Copyright Microsoft Corporation 1999.