FANDOM


Gets information about a mail item in the inbox.

ClickSendMailItemButton()

Parameters Edit

Arguments Edit

none
void - nothing? The RoM API seems to be prepared for sending multiple items per mail. Thus this function might take a parameter.

Returns Edit

nil
void - A method without any return values.

Example Edit

-- Takes an item from the bag and places it into the mail to be send.
PickupBagItem(index);
ClickSendMailItemButton();

Notes Edit

  • One should check if an item is bound before trying to place it into a mail.
    • Addon Ultimate Mail Mod uses tooltip parsing to check for bound items;
    • Library Sol also parses the item tooltip to provide a bound state;
    • Addon ItemPreview indeed figured out that the bound state can be retrieved from the item link. Check out the description in the source of the addon for details;
  • You may check via GetSendMailItem if placing the item was successful;
    • Addon SendRunes uses this kind of check.

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.