Mac Hyp: Getting a Message Type or List of Message Types (62051)



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 Q62051

SUMMARY

The following syntax returns the four-character message type of the Microsoft Mail message with the specified name:
   msmail(getMessageType [, name]) => type
				

Example

   put msmail(getMessageType, "Phone") into messType
				
This puts "Mesp" into the HyperCard variable messType.

If no name is specified, a list of all the types will be returned. All types will begin with "Me". The last two characters will be capitalized for all custom forms. The standard types are as follows:
   Type        ID
   ----        --

   Note        Mess
   Phone       Mesp
   Image       Mesi
   80 col.     Megw
   AppleLink   Meal
				
Note: The Return Receipt message is a special type and will not appear in this list. Its type is Merr and it is not a form that can be sent.

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

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