Microsoft KB Archive/59918

= Mac Hyp: Add Multiple Recipients with One msmail Function Call =

Article ID: 59918

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 Q59918



SUMMARY
When using the &quot;addRecipients&quot; parameter to the msmail function call, it is possible to add a list of recipients with one call.

To do this, place all the recipients in a HyperCard container, such as a field or a variable, then pass the name of that container in the function call. The recipients' names must be separated by return characters or each recipient must be on a separate line.

For example, if the HyperCard container &quot;mailUsers&quot; contains the following names

Jane Doe

John Doe

Jill Smith

Jack Smith

then the function call would be as follows: get msmail(addRecipients,messageRef,mailUsers) &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.

For more information, see &quot;addRecipients&quot; in the &quot;Microsoft Mail HyperCard Interface Documentation.&quot;

Keywords: KB59918

-

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

© Microsoft Corporation. All rights reserved.