WoW API: GetSendMailItem

WoW API < GetSendMailItem

Get information about the item attached on the send mail frame.

Name, Texture, Count, Quality = GetSendMailItem(index)


ParametersEdit

index
Int - The index of the send mail item (1-12)

ReturnsEdit

Name, Texture, Count, Quality
Name
String - Name of the item
Texture
String - The texture used for the item
Count
Int - The number of items in the stack
Quality
Int - Quality index of the item (0-6)

DetailsEdit

Requires that the mailbox window is open.
As of 2.3.3 this function is bugged and the quality is always set to -1.