WoW API: ClickSendMailItemButton

WoW API < ClickSendMailItemButton

Places or picks up an item from the send mail frame. Can also clear an item rather than picking it up.

ClickSendMailItemButton([itemIndex, [clearItem]])

ParametersEdit

ArgumentsEdit

([itemIndex, [clearItem]])
itemIndex
Integer - The index of the item (1-ATTACHMENTS_MAX_SEND(12))
clearItem
Boolean - Clear the item already in this slot. (Done by right clicking an item)