API:GetSendMailItem

__NOTOC__
GetSendMailItem
local itemName, itemTexture, stackCount = GetSendMailItem();
Get information about an item attached to a mail in the composer.
== Parameters ==
=== Arguments ===
:;none
::void - nothing? Probably an index might be given if multiple attachments are allowed.
=== Returns ===
:;itemName
::string - The name of the item.
:;itemTexture
::string - Path to the texture to be used for displaying the item in the interface.
:;stackCount
::number - The amount of items in the stack.
== Example ==
TODO:EX
== Notes ==
* The function is often used to check if attaching an item to the mail wa successful or if sending a mail has finished. For this second reason you should check the events MAIL_SEND_SUCCESS and MAIL_FAILED.
== Related Functions ==
* ClickSendMailItemButton