EVENT_MAIL_CLOSE_MAILBOX
ESO Lua API event — used by 38 of the 3,030 addons we indexed (combined 6,392,841 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_MAIL_CLOSE_MAILBOXReal usage — from Arkadius' Trade Tools
function ArkadiusTradeTools:OnEvent(eventCode, arg1, arg2, ...)
if ((eventCode == EVENT_MAIL_OPEN_MAILBOX) or (eventCode == EVENT_MAIL_CLOSE_MAILBOX)) then
if (Settings.showOnMailbox) thenShort excerpt from the shipping addon Arkadius' Trade Tools — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Master Merchant 3.0 | 3,883,523 |
| Arkadius' Trade Tools | 845,488 |
| PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch] | 487,232 |
| CookeryWiz | 239,380 |
| Shissu's Guild Tools | 186,581 |
| Unboxer | 140,238 |