Returns whether a mail can be reported as spam. Returns nil for messages from Game Masters or friends, as well as for messages generated by the game itself (Auction House mail, mails from NPCs, etc).

As with most mail functions, only provides valid information if used while the mail UI is open (between the MAIL_SHOW and MAIL_CLOSE events).

See also Complaint functions, Mail functions.


complain = CanComplainInboxItem(mailID)


  • mailID - Index of a mail in the player's inbox (between 1 and GetInboxNumItems()) (number)


  • complain - 1 if the mail can be reported as spam; otherwise nil (1nil)