GetNextMailId
ESO Lua API function — used by 31 of the 3,030 addons we indexed (combined 1,655,215 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetNextMailId(id64:nilable lastMailId)Returns: id64:nilable nextMailId
Real usage — from ESO-Database.com Export AddOn
local mailId = GetNextMailId()
while mailId ~= nil doShort excerpt from the shipping addon ESO-Database.com Export AddOn — 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 |
|---|---|
| ESO-Database.com Export AddOn | 272,910 |
| CookeryWiz | 239,380 |
| Merlin the Enchanter | 228,648 |
| Wykkyd Mailbox | 162,721 |
| Quick Enchanter | 135,864 |
| Price Tracker Updated | 104,268 |