local itemName, itemTexture, stackCount = GetSendMailItem();

Get information about an item attached to a mail in the composer.

Parameters Edit

Arguments Edit

void - nothing? Probably an index might be given if multiple attachments are allowed.

Returns Edit

string - The name of the item.
string - Path to the texture to be used for displaying the item in the interface.
number - The amount of items in the stack.

Example Edit


Notes Edit

  • 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 Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.