→ WoW API
Returns information about a message in the mailbox.
packageIcon, stationeryIcon, sender, subject, money, CODAmount, daysLeft, hasItem, wasRead, wasReturned, textCreated, canReply, isGM = GetInboxHeaderInfo(index)
- Number - the index of the message (ascending from 1).
- String - texture path for package icon if it contains a package (nil otherwise).
- String - texture path for mail message icon.
- String - name of the player who sent the message.
- String - the message subject.
- Number - The amount of money attached.
- Number - The amount of COD payment required to receive the package.
- Number - The number of days (fractional) before the message expires.
- Number - Either the number of attachments or nil if no items are present. Note that items that have been taken from the mailbox continue to occupy empty slots, but hasItem is the total number of items remaining in the mailbox. Use ATTACHMENTS_MAX_RECEIVE for the total number of attachments rather than this.
- Flag - 1 if the mail has been read, nil otherwise. Using GetInboxText() marks an item as read.
- Flag - 1 if the mail was returned, nil otherwise.
- Flag - 1 if a letter object has been created from this mail, nil otherwise.
- Flag - 1 if this letter can be replied to, nil otherwise.
- Flag - 1 if this letter was sent by a GameMaster.