Mac Hyp: Getting the Name of the Message Sender (62132)



The information in this article applies to:

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

This article was previously published under Q62132

SUMMARY

The following command returns the name of the sender of the message:
   msmail(getSender, messageRef [, extended]) => data
				
If "extended" is true (the default), the name is returned in the form "userName@serverName".

"messageRef" 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.

If the message was received through a gateway, the "extended" parameter is ignored, and only the user name is returned.

This information is taken from the "Microsoft Mail HyperCard Interface Documentation."

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:KB62132