Download
(5 Kb)
Download
Updated: 07/26/15 09:12 AM
Compatibility:
Update 6 (1.6.5)
Updated:07/26/15 09:12 AM
Created:06/09/15 01:49 AM
Monthly downloads:17
Total downloads:3,190
Favorites:3
MD5:
Categories:Discontinued & Outdated, Group, Guild & Friends
Auto Mail Return (Mailbox Daemon)
Version: 1.0.2
by: XanDDemoX [More]
A lightweight mail return/bounce addon. Automatically returns mail received from another player with a specific subject and one or more attachments.

Sorry to all users affected by the inaccessible mail in mailbox bug.

This should now be improved. I'm still working on a fix.

Unfortunately, I think, the bug is within the default UI and mail API so I probably can't fix the root cause .

I'm hoping I have compensated enough to keep the mailbox happier, but I have also added an extra guard
just in case .

If you have existing or new mails you can't access, re-logging and opening your mailbox immediately (within 15 seconds) should fix them.



Additional Features
  • Protects mails for return from Take Attachments.
  • Avoids running during combat and menu interactions (e.g bank/crafting)
  • Optionally automatically deletes returned mails upon all attachments being taken (on by default).
  • 15 second window on login which opening the mailbox should resolve inaccessible mails.

Usage

Install and tell your friends! Your mailboxes will be filled in no time!

Bounce mails using any one of these subjects:
  • /r
  • /b
  • /ret
  • /return
  • /bounce
  • return
  • bounce
  • /rts
  • rts

Optionally any other text may follow the subject prefix e.g:

/r Extract Items

Subjects are case insensitive. Also compatible with Wykkyd Mailbox bounce subjects

Slash Commands
  • /r, /ret, /return - Force refresh and attempt to return any unsent mails.
  • /rdelete +/-, on/off - Enable or disable automatic deletion of emptied returned mail

Auto Mail Return on GitHub
Version 1.0.2

- Fixed mail selection bug
- Prevented mail returning during recticle related interactions.

Version 1.0.1

- Added /rts and rts subjects

Version 1.0.0
- Added string trims for sanity

Version 0.0.10
- Added protection from returner taking attachments that are intended for a returnee.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Uploader
Date
1.0.0
5kB
XanDDemoX
06/09/15 01:49 AM


Post A Reply Comment Options
Unread 07/27/15, 01:20 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Unable to open the first mail at top of the list

Originally Posted by XanDDemoX
Originally Posted by Anceane
Testing for the day anyway thank you for trying even if it happens that does not work, but i am optimistic!
Should hopefully happen less often and be easier to recover from now if nothing else
After one day, so far the problem do not happens again. (and beleive me i used the function a lot, clicking and re-clicking again and again, closing ... opening, canceling, nothing happened :P

Thank you very much
Report comment to moderator  
Reply With Quote
Unread 07/26/15, 02:03 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Re: Re: Re: Re: Re: Re: Re: Re: Re: Unable to open the first mail at top of the list

Originally Posted by Anceane
Testing for the day anyway thank you for trying even if it happens that does not work, but i am optimistic!
Should hopefully happen less often and be easier to recover from now if nothing else
Report comment to moderator  
Reply With Quote
Unread 07/26/15, 01:58 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: Re: Re: Re: Re: Re: Re: Unable to open the first mail at top of the list

Testing for the day anyway thank you for trying even if it happens that does not work, but i am optimistic!

Originally Posted by XanDDemoX
Originally Posted by Anceane
I may say that i receive mail return in bulk, so sometimes i open the window before all the mails are there (i never remember how much mails i am waiting for :P) so may be this would cause the problem ? if i open the window before all the mails are in ?
(the fact that i have sometimes to log off 5 or 6 times before the first mail comes in return, make me less patient LOL) ESO should really see the problem there.

Originally Posted by XanDDemoX
Originally Posted by merlight
Originally Posted by XanDDemoX
Still looking at why exactly, but I think its timing related which would explain why it only happens sometimes .

Will update with more info or a fix when I have something
I had the same problem a year+ ago when writing an add-on that scanned mailbox for specific messages. IIRC it had something to do with either requesting mail outside the mail scene, or breaking something in the scene by requesting a mail other than the one selected in the UI. It's been a long time and I don't remember how I solved that, so I probably won't help you. Just spill some ideas:
- Does this add-on scan mailbox with the mail scene shown or hidden?
- If shown, it should not call CloseMailbox()
- If hidden, then replacing MAIL_INBOX:RefreshData() with MAIL_INBOX:OnInboxUpdate() should prevent excess refreshing (probably won't solve anything, it'll give a minor speed-up at best)

I'll check if I still have the broken version of the add-on somewhere, back then I was able to reproduce the bug quite reliably. But I've thrown that add-on away long ago, so no guarantees
Thanks for the info, reproducing it is a pain, but I think you could be onto something there .

As mail comes in it scans, it mainly runs whilst the inbox is closed. It also tries to avoid running whilst your in other menus or combat.

But there is probably nothing stopping it running whilst the inbox is open or if the user opens it at that time
Got a potential fix Anceane but I'm still testing at the moment. I want to be sure its gone this time

Edit: Just updated with improvements
Report comment to moderator  
Reply With Quote
Unread 07/23/15, 06:21 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Re: Re: Re: Re: Re: Re: Re: Unable to open the first mail at top of the list

Originally Posted by Anceane
I may say that i receive mail return in bulk, so sometimes i open the window before all the mails are there (i never remember how much mails i am waiting for :P) so may be this would cause the problem ? if i open the window before all the mails are in ?
(the fact that i have sometimes to log off 5 or 6 times before the first mail comes in return, make me less patient LOL) ESO should really see the problem there.

Originally Posted by XanDDemoX
Originally Posted by merlight
Originally Posted by XanDDemoX
Still looking at why exactly, but I think its timing related which would explain why it only happens sometimes .

Will update with more info or a fix when I have something
I had the same problem a year+ ago when writing an add-on that scanned mailbox for specific messages. IIRC it had something to do with either requesting mail outside the mail scene, or breaking something in the scene by requesting a mail other than the one selected in the UI. It's been a long time and I don't remember how I solved that, so I probably won't help you. Just spill some ideas:
- Does this add-on scan mailbox with the mail scene shown or hidden?
- If shown, it should not call CloseMailbox()
- If hidden, then replacing MAIL_INBOX:RefreshData() with MAIL_INBOX:OnInboxUpdate() should prevent excess refreshing (probably won't solve anything, it'll give a minor speed-up at best)

I'll check if I still have the broken version of the add-on somewhere, back then I was able to reproduce the bug quite reliably. But I've thrown that add-on away long ago, so no guarantees
Thanks for the info, reproducing it is a pain, but I think you could be onto something there .

As mail comes in it scans, it mainly runs whilst the inbox is closed. It also tries to avoid running whilst your in other menus or combat.

But there is probably nothing stopping it running whilst the inbox is open or if the user opens it at that time
Got a potential fix Anceane but I'm still testing at the moment. I want to be sure its gone this time

Edit: Just updated with improvements
Last edited by XanDDemoX : 07/26/15 at 09:25 AM.
Report comment to moderator  
Reply With Quote
Unread 07/22/15, 02:49 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: Re: Re: Re: Re: Unable to open the first mail at top of the list

I may say that i receive mail return in bulk, so sometimes i open the window before all the mails are there (i never remember how much mails i am waiting for :P) so may be this would cause the problem ? if i open the window before all the mails are in ?
(the fact that i have sometimes to log off 5 or 6 times before the first mail comes in return, make me less patient LOL) ESO should really see the problem there.

Originally Posted by XanDDemoX
Originally Posted by merlight
Originally Posted by XanDDemoX
Still looking at why exactly, but I think its timing related which would explain why it only happens sometimes .

Will update with more info or a fix when I have something
I had the same problem a year+ ago when writing an add-on that scanned mailbox for specific messages. IIRC it had something to do with either requesting mail outside the mail scene, or breaking something in the scene by requesting a mail other than the one selected in the UI. It's been a long time and I don't remember how I solved that, so I probably won't help you. Just spill some ideas:
- Does this add-on scan mailbox with the mail scene shown or hidden?
- If shown, it should not call CloseMailbox()
- If hidden, then replacing MAIL_INBOX:RefreshData() with MAIL_INBOX:OnInboxUpdate() should prevent excess refreshing (probably won't solve anything, it'll give a minor speed-up at best)

I'll check if I still have the broken version of the add-on somewhere, back then I was able to reproduce the bug quite reliably. But I've thrown that add-on away long ago, so no guarantees
Thanks for the info, reproducing it is a pain, but I think you could be onto something there .

As mail comes in it scans, it mainly runs whilst the inbox is closed. It also tries to avoid running whilst your in other menus or combat.

But there is probably nothing stopping it running whilst the inbox is open or if the user opens it at that time
Report comment to moderator  
Reply With Quote
Unread 07/22/15, 09:36 AM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Re: Re: Re: Re: Re: Unable to open the first mail at top of the list

Originally Posted by merlight
Originally Posted by XanDDemoX
Still looking at why exactly, but I think its timing related which would explain why it only happens sometimes .

Will update with more info or a fix when I have something
I had the same problem a year+ ago when writing an add-on that scanned mailbox for specific messages. IIRC it had something to do with either requesting mail outside the mail scene, or breaking something in the scene by requesting a mail other than the one selected in the UI. It's been a long time and I don't remember how I solved that, so I probably won't help you. Just spill some ideas:
- Does this add-on scan mailbox with the mail scene shown or hidden?
- If shown, it should not call CloseMailbox()
- If hidden, then replacing MAIL_INBOX:RefreshData() with MAIL_INBOX:OnInboxUpdate() should prevent excess refreshing (probably won't solve anything, it'll give a minor speed-up at best)

I'll check if I still have the broken version of the add-on somewhere, back then I was able to reproduce the bug quite reliably. But I've thrown that add-on away long ago, so no guarantees
Thanks for the info, reproducing it is a pain, but I think you could be onto something there .

As mail comes in it scans, it mainly runs whilst the inbox is closed. It also tries to avoid running whilst your in other menus or combat.

But there is probably nothing stopping it running whilst the inbox is open or if the user opens it at that time
Report comment to moderator  
Reply With Quote
Unread 07/22/15, 04:03 AM  
merlight
AddOn Author - Click to view AddOns

Forum posts: 671
File comments: 213
Uploads: 12
Re: Re: Re: Re: Unable to open the first mail at top of the list

Originally Posted by XanDDemoX
Still looking at why exactly, but I think its timing related which would explain why it only happens sometimes .

Will update with more info or a fix when I have something
I had the same problem a year+ ago when writing an add-on that scanned mailbox for specific messages. IIRC it had something to do with either requesting mail outside the mail scene, or breaking something in the scene by requesting a mail other than the one selected in the UI. It's been a long time and I don't remember how I solved that, so I probably won't help you. Just spill some ideas:
- Does this add-on scan mailbox with the mail scene shown or hidden?
- If shown, it should not call CloseMailbox()
- If hidden, then replacing MAIL_INBOX:RefreshData() with MAIL_INBOX:OnInboxUpdate() should prevent excess refreshing (probably won't solve anything, it'll give a minor speed-up at best)

I'll check if I still have the broken version of the add-on somewhere, back then I was able to reproduce the bug quite reliably. But I've thrown that add-on away long ago, so no guarantees
Last edited by merlight : 07/22/15 at 04:06 AM.
Report comment to moderator  
Reply With Quote
Unread 07/22/15, 01:01 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: Re: Re: Unable to open the first mail at top of the list

It appears that my husband have the same little bug, (different computer)

Today was fine until this evening, had to quit the game 4 times before the mail would be free to open


Originally Posted by XanDDemoX
Originally Posted by Anceane
Originally Posted by XanDDemoX
Originally Posted by Anceane
is there a reason that once i receive the mails in return, the first one is always unavailable to open, i have to deactivate the addon, log off, then start again and only then i can open the first mail at top of the mail container.
It can be a mail from a guild store, or a return, or any kind of mail, but always the one at the top of the mail container

If you have any idea please let me know

Thank you
I've had it a couple of times before, thought I had fixed it

In the meantime you can also usually fix it by running these commands in chat.

Code:
/script MAIL_INBOX:EndRead()

/script CloseMailbox()

/script MAIL_INBOX:RefreshData()
Otherwise /reloadui or relog or exit to desktop. But it does also seem to correct itself after a while if you can wait

Thanks for letting me know, I'll have a look at it again
Thank you for answering i will try the script next time it happens, though strangely yesterday was fine, today had this one time but just a reloadui made it, so it seems to be better.

Anyway even with this little trouble i really love your addon
Your welcome, much appreciated, Thank you

Still looking at why exactly, but I think its timing related which would explain why it only happens sometimes .

Will update with more info or a fix when I have something
Report comment to moderator  
Reply With Quote
Unread 07/21/15, 05:51 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Re: Re: Re: Unable to open the first mail at top of the list

Originally Posted by Anceane
Originally Posted by XanDDemoX
Originally Posted by Anceane
is there a reason that once i receive the mails in return, the first one is always unavailable to open, i have to deactivate the addon, log off, then start again and only then i can open the first mail at top of the mail container.
It can be a mail from a guild store, or a return, or any kind of mail, but always the one at the top of the mail container

If you have any idea please let me know

Thank you
I've had it a couple of times before, thought I had fixed it

In the meantime you can also usually fix it by running these commands in chat.

Code:
/script MAIL_INBOX:EndRead()

/script CloseMailbox()

/script MAIL_INBOX:RefreshData()
Otherwise /reloadui or relog or exit to desktop. But it does also seem to correct itself after a while if you can wait

Thanks for letting me know, I'll have a look at it again
Thank you for answering i will try the script next time it happens, though strangely yesterday was fine, today had this one time but just a reloadui made it, so it seems to be better.

Anyway even with this little trouble i really love your addon
Your welcome, much appreciated, Thank you

Still looking at why exactly, but I think its timing related which would explain why it only happens sometimes .

Will update with more info or a fix when I have something
Report comment to moderator  
Reply With Quote
Unread 07/21/15, 11:20 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: Unable to open the first mail at top of the list

Originally Posted by XanDDemoX
Originally Posted by Anceane
is there a reason that once i receive the mails in return, the first one is always unavailable to open, i have to deactivate the addon, log off, then start again and only then i can open the first mail at top of the mail container.
It can be a mail from a guild store, or a return, or any kind of mail, but always the one at the top of the mail container

If you have any idea please let me know

Thank you
I've had it a couple of times before, thought I had fixed it

In the meantime you can also usually fix it by running these commands in chat.

Code:
/script MAIL_INBOX:EndRead()

/script CloseMailbox()

/script MAIL_INBOX:RefreshData()
Otherwise /reloadui or relog or exit to desktop. But it does also seem to correct itself after a while if you can wait

Thanks for letting me know, I'll have a look at it again
Thank you for answering i will try the script next time it happens, though strangely yesterday was fine, today had this one time but just a reloadui made it, so it seems to be better.

Anyway even with this little trouble i really love your addon
Report comment to moderator  
Reply With Quote
Unread 07/20/15, 08:49 PM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Re: Unable to open the first mail at top of the list

Originally Posted by Anceane
is there a reason that once i receive the mails in return, the first one is always unavailable to open, i have to deactivate the addon, log off, then start again and only then i can open the first mail at top of the mail container.
It can be a mail from a guild store, or a return, or any kind of mail, but always the one at the top of the mail container

If you have any idea please let me know

Thank you
I've had it a couple of times before, thought I had fixed it

In the meantime you can also usually fix it by running these commands in chat.

Code:
/script MAIL_INBOX:EndRead()

/script CloseMailbox()

/script MAIL_INBOX:RefreshData()
Otherwise /reloadui or relog or exit to desktop. But it does also seem to correct itself after a while if you can wait

Thanks for letting me know, I'll have a look at it again
Last edited by XanDDemoX : 07/20/15 at 08:50 PM.
Report comment to moderator  
Reply With Quote
Unread 07/19/15, 09:55 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Unable to open the first mail at top of the list

is there a reason that once i receive the mails in return, the first one is always unavailable to open, i have to deactivate the addon, log off, then start again and only then i can open the first mail at top of the mail container.
It can be a mail from a guild store, or a return, or any kind of mail, but always the one at the top of the mail container

If you have any idea please let me know

Thank you
Report comment to moderator  
Reply With Quote
Unread 06/16/15, 09:58 AM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by Ayantir
Could you add an option setting that we could set our reply string ourselves

Like a multiline editbox

Thank you.
I don't see why not I'll look at making the subjects configurable at the same time as Argusus's suggestion

In the meantime if you really want/need some extra reply strings you can just add them on at the top of the file

Line 10:
Code:
local _subjects = { "/r","/b","/ret","return","bounce","/return","/bounce", "/subject" }
Report comment to moderator  
Reply With Quote
Unread 06/16/15, 09:38 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Could you add an option setting that we could set our reply string ourselves

Like a multiline editbox

Thank you.
Report comment to moderator  
Reply With Quote
Unread 06/16/15, 07:35 AM  
XanDDemoX
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 49
Uploads: 4
Originally Posted by Argusus
Great addon! Is it possible to add a tooltip for the mailbox item list that displays the attachment items in a mail without having to click on the mail item to see attachments?
Thanks, great idea! I'll have a look
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: