AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === Mail === See also [[Events/Mail|Events associated with Mail]]. :{{id|API|AutoLootMailItem}}(index) - Loot all items from mail message. :{{id|API|CheckInbox}}() - Populate client's inbox with mail from server. :{{id|API|ClearSendMail}}() - This clears the text in the send mail tab and places the COD item in the inventory. :{{id|API|ClickSendMailItemButton}}([itemIndex, [clearItem]]) - Places or picks up an item from the send mail frame. :{{id|API|CloseMail}}() - Closes the mail window. :{{id|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. :{{id|API|DropCursorMoney}} - Drops the amount of money held by the cursor. :{{id|API|GetCoinIcon}}(amount) :{{id|API|GetInboxHeaderInfo}}(index) - Returns information about a message in the inbox. :{{id|API|GetInboxItem}}(index, itemIndex) - Returns description of the attachment attached to message at (index). :{{id|API|GetInboxItemLink}}(index, itemIndex) - Returns link of the attachment attached to message at (index). :{{id|API|GetInboxNumItems}}() - Returns the number of messages in your inbox. :{{id|API|GetInboxText}}(index) - Returns the message text of message at (index). :{{id|API|GetInboxInvoiceInfo}}(index) - Returns informations about an auction house invoice. :{{id|API|GetLatestThreeSenders}} - Returns the senders of the most recent unread mail. :{{id|API|GetNumPackages}}() - Not yet fully implemented. Currently it always returns 1. :{{id|API|GetNumStationeries}}() - Not yet fully implemented. Currently it always returns 1. :{{id|API|GetPackageInfo}}(index) - Not yet fully implemented. Currently an index of 1 returns "Test Package". :{{id|API|GetSelectedStationeryTexture}}() - Not yet fully implemented. Currently it returns "STATIONERYTEST" when the mailbox is open. :{{id|API|GetSendMailCOD}}() - determine amount of gold entered in COD box in mail frame when mail is sent :{{id|API|GetSendMailItem}}(index) - Get information about an item attached on the send mail frame. :{{id|API|GetSendMailItemLink}}(index) - Get link for an item attached on the send mail frame. :{{id|API|GetSendMailMoney}}() :{{id|API|GetSendMailPrice}}() - Gets the cost for sending mail. :{{id|API|GetStationeryInfo}}(index) - Not yet fully implemented. Currently an index of 1 returns "Default Stationery". :{{id|API|HasNewMail}}() - Returns nil if there is no new mail. :{{id|API|InboxItemCanDelete}}(index) - Boolean check for whether a message is returnable to the sender. :{{id|API|ReturnInboxItem}}(index) - Returns to the sender the attached item in the mail message at the specified index. :{{id|API|SelectPackage}}(index) - Not yet fully implemented. It does nothing visible. :{{id|API|SelectStationery}}(index) - Not yet fully implemented. It does nothing visible. :{{id|API|SendMail}}("target", "subject", "body") - If the mailbox is open, this sends mail. :PROTECTED {{id|API|SetSendMailCOD}}(amount) - Make next mail sent using SendMail() COD target for amount. (protected 2.0) :PROTECTED {{id|API|SetSendMailMoney}}(amount) - Add money to next mail sent using SendMail(). (protected 2.0) :{{id|API|TakeInboxItem}}(index, itemIndex) - Take the attached item from the mailbox message at index. :{{id|API|TakeInboxMoney}}(index) - Take the attached money from the mailbox message at index. :{{id|API|TakeInboxTextItem}}(index) - Creates a permanent copy of letter (readable "Plain Letter"). Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes