💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
These functions relate to[Mail](https://wow.gamepedia.com/Mail "Mail"). [C\_Mail.HasInboxMoney](https://wow.gamepedia.com/API_C_Mail.HasInboxMoney "API C Mail.HasInboxMoney")(inboxIndex) - Returns true if a mail has money attached. [C\_Mail.IsCommandPending](https://wow.gamepedia.com/API_C_Mail.IsCommandPending "API C Mail.IsCommandPending")() - Returns true if the current mail command is still processing. [AutoLootMailItem](https://wow.gamepedia.com/index.php?title=API_AutoLootMailItem&action=edit&redlink=1 "API AutoLootMailItem (page does not exist)")(index) - Loot all items from mail message. [CanComplainInboxItem](https://wow.gamepedia.com/index.php?title=API_CanComplainInboxItem&action=edit&redlink=1 "API CanComplainInboxItem (page does not exist)")(index) - Determines if we should show the “report spam” button on a mail item. [CheckInbox](https://wow.gamepedia.com/API_CheckInbox "API CheckInbox")() - Populate client's inbox with mail from server. [ClearSendMail](https://wow.gamepedia.com/API_ClearSendMail "API ClearSendMail")() - This clears the text in the send mail tab and places the COD item in the inventory. [ClickSendMailItemButton](https://wow.gamepedia.com/API_ClickSendMailItemButton "API ClickSendMailItemButton")(\[itemIndex, \[clearItem\]\]) - Places or picks up an item from the send mail frame. [CloseMail](https://wow.gamepedia.com/API_CloseMail "API CloseMail")() - Closes the mail window. [ComplainInboxItem](https://wow.gamepedia.com/index.php?title=API_ComplainInboxItem&action=edit&redlink=1 "API ComplainInboxItem (page does not exist)")(index) - Complains about a particular mail item. [DeleteInboxItem](https://wow.gamepedia.com/API_DeleteInboxItem "API DeleteInboxItem")(index) - Deletes the inbox item at index. It returns immediately, it does not seem to wait for the deletion to go through, giving the normal problems with rapid mail removal attempts. [GetCoinIcon](https://wow.gamepedia.com/API_GetCoinIcon "API GetCoinIcon")(amount) [GetInboxHeaderInfo](https://wow.gamepedia.com/API_GetInboxHeaderInfo "API GetInboxHeaderInfo")(index) - Returns information about a message in the inbox. [GetInboxItem](https://wow.gamepedia.com/API_GetInboxItem "API GetInboxItem")(index, itemIndex) - Returns description of the attachment attached to message at (index). [GetInboxItemLink](https://wow.gamepedia.com/API_GetInboxItemLink "API GetInboxItemLink")(index, itemIndex) - Returns link of the attachment attached to message at (index). [GetInboxNumItems](https://wow.gamepedia.com/API_GetInboxNumItems "API GetInboxNumItems")() - Returns the number of messages in your inbox. [GetInboxText](https://wow.gamepedia.com/API_GetInboxText "API GetInboxText")(index) - Returns the message text of message at (index). [GetInboxInvoiceInfo](https://wow.gamepedia.com/API_GetInboxInvoiceInfo "API GetInboxInvoiceInfo")(index) - Returns informations about an auction house invoice. [GetLatestThreeSenders](https://wow.gamepedia.com/API_GetLatestThreeSenders "API GetLatestThreeSenders")() - Returns the senders of the most recent unread mail. [GetSendMailCOD](https://wow.gamepedia.com/API_GetSendMailCOD "API GetSendMailCOD")() - Determine amount of gold entered in COD box in mail frame when mail is sent. [GetSendMailItem](https://wow.gamepedia.com/API_GetSendMailItem "API GetSendMailItem")(index) - Get information about an item attached on the send mail frame. [GetSendMailItemLink](https://wow.gamepedia.com/API_GetSendMailItemLink "API GetSendMailItemLink")(index) - Get link for an item attached on the send mail frame. [GetSendMailMoney](https://wow.gamepedia.com/index.php?title=API_GetSendMailMoney&action=edit&redlink=1 "API GetSendMailMoney (page does not exist)")() [GetSendMailPrice](https://wow.gamepedia.com/API_GetSendMailPrice "API GetSendMailPrice")() - Gets the cost for sending mail. [HasInboxItem](https://wow.gamepedia.com/index.php?title=API_HasInboxItem&action=edit&redlink=1 "API HasInboxItem (page does not exist)")() [HasNewMail](https://wow.gamepedia.com/index.php?title=API_HasNewMail&action=edit&redlink=1 "API HasNewMail (page does not exist)")() - Returns nil if there is no new mail. [HasSendMailItem](https://wow.gamepedia.com/index.php?title=API_HasSendMailItem&action=edit&redlink=1 "API HasSendMailItem (page does not exist)")(index) - Returns boolean if item is attached to send mail frame in specified slot. [InboxItemCanDelete](https://wow.gamepedia.com/API_InboxItemCanDelete "API InboxItemCanDelete")(index) - Boolean check for whether a message is returnable to the sender. [RespondMailLockSendItem](https://wow.gamepedia.com/index.php?title=API_RespondMailLockSendItem&action=edit&redlink=1 "API RespondMailLockSendItem (page does not exist)")(slot, keepItem) - Confirm item wont be refunded, keepItem boolean. [ReturnInboxItem](https://wow.gamepedia.com/index.php?title=API_ReturnInboxItem&action=edit&redlink=1 "API ReturnInboxItem (page does not exist)")(index) - Returns to the sender the attached item in the mail message at the specified index. [SendMail](https://wow.gamepedia.com/API_SendMail "API SendMail")("target", "subject", "body") - If the mailbox is open, this sends mail. PROTECTED[SetSendMailCOD](https://wow.gamepedia.com/index.php?title=API_SetSendMailCOD&action=edit&redlink=1 "API SetSendMailCOD (page does not exist)")(amount) - Make next mail sent using SendMail() COD target for amount. PROTECTED[SetSendMailMoney](https://wow.gamepedia.com/index.php?title=API_SetSendMailMoney&action=edit&redlink=1 "API SetSendMailMoney (page does not exist)")(amount) - Add money to next mail sent using SendMail(). [SetSendMailShowing](https://wow.gamepedia.com/index.php?title=API_SetSendMailShowing&action=edit&redlink=1 "API SetSendMailShowing (page does not exist)")() [TakeInboxItem](https://wow.gamepedia.com/API_TakeInboxItem "API TakeInboxItem")(index, itemIndex) - Take the attached item from the mailbox message at index. [TakeInboxMoney](https://wow.gamepedia.com/API_TakeInboxMoney "API TakeInboxMoney")(index) - Take the attached money from the mailbox message at index. [TakeInboxTextItem](https://wow.gamepedia.com/index.php?title=API_TakeInboxTextItem&action=edit&redlink=1 "API TakeInboxTextItem (page does not exist)")(index) - Creates a permanent copy of letter (readable "Plain Letter").