Microsoft KB Archive/62123

= Mac Hyp: Adding a Message Body to a Message =

Article ID: 62123

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 Q62123



SUMMARY
The following command sets the message body of message &quot;messageRef&quot; to the contents of the text string or HyperCard container (variable or field) referenced by &quot;data&quot;: msmail(AddBody, messageRef, data) The main message text field is limited in length to 32K.

&quot;messageRef&quot; is a reference to a selected message obtained by making a call to the msmail function using a parameter that returns a message reference, such as getMessageListField.



MORE INFORMATION
The following are two examples of how AddBody can be used:

put &quot;This is a test message.&quot; into theBody

put msmail(createMessage) into messRef

get msmail(AddBody, messRef, theBody)

put card field 2 & return & card field 3 into bdy

put msmail(CreateMessage) into mref

get msmail(AddBody, mref, &quot;Hello, read this&quot; & bdy)

This information is taken from the &quot;Microsoft Mail HyperCard Interface Documentation.&quot;

Keywords: KB62123

-

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

© Microsoft Corporation. All rights reserved.