Deleting or returning mail - doesn't work?
It doesn't look like the API functions ReturnMail or DeleteMail (with or without the 2nd argument) do anything, is this intended to prevent addons from removing mail?
e.g. ReturnMail(GetNextMailId()) or DeleteMail(GetNextMailId()) |
I found that the mailbox needs to be open and the mail has to have been read. try adding
Code:
RequestReadMail(mailId) Code:
EVENT_MAIL_NUM_UNREAD_CHANGED |
try this code you have to queue them all up first. Then when you process the code it fires the first delete event. The event will keep triggering mailOpen.ProcessDelQueue() until it runs out of entries in the table.
Lua Code:
|
All times are GMT -6. The time now is 03:39 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI