ESODecoded

GetMailAttachmentInfo

ESO Lua API function — used by 37 of the 3,030 addons we indexed (combined 3,413,874 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetMailAttachmentInfo(id64 mailId)

Returns: integer numAttachments, integer attachedMoney, integer codAmount

Real usage — from Lootdrop, Continued (All in One)


	for attachIndex = 1, GetMailAttachmentInfo( mailId ) do
		self.MailStacks[attachIndex] = {}

Short excerpt from the shipping addon Lootdrop, Continued (All in One)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

AddonTotal downloads
Lootdrop, Continued (All in One)1,145,178
Postmaster Mail427,397
ESO-Database.com Export AddOn272,910
Merlin the Enchanter228,648
LootDrop Reborn192,278
Shissu's Guild Tools186,581