WoW:Events/Mail

< Events
Revision as of 23:38, 2 November 2007 by WoWWiki>Schelli (added links for getsenmailcod)

Event API


"I" iconNote that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.


Mail related events

"CLOSE_INBOX_ITEM"
Category: Mail
 



"MAIL_CLOSED"
Category: Mail
 

Fired when the mailbox window is closed.


"MAIL_FAILED"
Category: Mail
 



"MAIL_INBOX_UPDATE"
Category: Mail
 

Fired when the opened inbox changes in any way, including when the inbox list is loaded after the frame has been opened, or when a mail item changes from new to read, or when a mail item is opened for the first time in a session. Passes arg1 as mouse button clicked when opening a mail item; otherwise arg1 is nil.


"MAIL_SEND_INFO_UPDATE"
Category: Mail
 

Fired when an item is dragged to or from the Send Item box in an outgoing mail message.


"MAIL_SEND_SUCCESS"
Category: Mail
 

Fired when a mail has been successfully sent to the mailbox of the recipient, it is also called when the mailbox is opened for some reason ... bug?


"MAIL_SHOW"
Category: Mail
 

Fired when a specific mail in the mailbox is opened.


"SEND_MAIL_COD_CHANGED"
Category: Mail
 

For me it seems to get called once when you start editing the box. (GetSendMailCOD() returns 0) When you sent the mail it gets called several times. (GetSendMailCOD() returns correct amount)


"SEND_MAIL_MONEY_CHANGED"
Category: Mail
 



"UPDATE_PENDING_MAIL"
Category: Mail
 

Fired when the player enters the world and enters/leaves an instance, if there is mail in the player's mailbox.

Fired when new mail is received.

Fired when mailbox window is closed if the number of mail items in the inbox changed (I.E. you deleted mail)

Does not appear to trigger when auction outbid mail is received... may not in other cases as well