Microsoft KB Archive/59923

= Mac Hyp: Addressing Messages to Specified Recipient =

Article ID: 59923

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 Q59923



SUMMARY
The msmail function parameter &quot;addRecipients&quot; adds the users whose names are passed in &quot;users&quot; to the list of recipients for the message &quot;messageRef&quot;. The syntax of the command is as follows: msmail(AddRecipients, messageRef, users) => unknownUsers There are two valid formats for a user name in &quot;users&quot;, as follows:   Unique Mail name:          Jane User Fully extended name:      Jane User@Accounting Server In both cases, the components of the name must be given in full. Thus even if &quot;Jane User&quot; were the only person whose name began with &quot;Jane,&quot; &quot;Jane&quot; would fail to match it, and &quot;Jane User@Accounting&quot; would fail to match the above fully extended name. To add a recipient from an address book in Microsoft Mail version 3.00, put a double &quot;@&quot; sign after the name, as follows: put msmail(AddRecipients, messRef, &quot;Carpool@@&quot;) into Unknown You can add carbon copy or blind carbon copy recipients by prepending &quot;Cc:&quot; or &quot;Bcc:&quot; onto the recipient names. Therefore, adding &quot;Cc:Jane User&quot; adds this user as a carbon-copy recipient.

&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.

Any users who cannot be found will be returned in the list &quot;unknownUsers&quot;. This list is delimited by returns with one user name on each line.

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

Keywords: KB59923

-

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

© Microsoft Corporation. All rights reserved.