Quantcast
Download
(10 Kb)
Download
Updated: 09/04/21 11:25 AM
Compatibility:
Blackwood (7.0.5)
Updated:09/04/21 11:25 AM
Created:07/13/21 09:28 AM
Monthly downloads:126
Total downloads:412
Favorites:2
MD5:
Mail Back Please
Version: 0.5.1
by: Irniben [More]
When my inventory is full and I don't have any space in my bank or if I'm in Cyrodiil I always do the same thing: I send random items from my inventory to a friend via ingame mail asking her to send them back so they don't take any space in my inventory. Because I am a lazy person I wrote this little addon to automize the process...

To use it do the following:
- Open the addon options
- Select the trusted friend who will receive all the mails
- Set a subject text for the mails
- Select if the mails should be empty or contain a random Shakespeare quote (the friend I'm sending my stuff to just loves Shakespeare...)
- Select if the addon should tell you exactly which items were sent (instead of just the number of items)
- Select the types of items that should be sent

If you want you can specify a keybind, otherwise just type /mbp in chat. Now after a confirmation dialog up to 6 items fitting the chosen categories will be sent to the pre-selected friend. You can repeat that as long as you think that your friend won't unfriend you for spamming :-) ... Ok, seriously, don't overdo it...

In the options you can also choose to be reminded on log-in whenever you have mails that will expire soon (use the slider to choose how many days in advance you want to get this warning).
- v.0.5.1
-- fixed an issue where the warning for expiring mails would sometimes show an empty string

- v.0.5.0
-- added an option to choose the mail subject

- v.0.4.0
-- added support for FCOItemSaver
-- settings are now server dependent
-- several minor adjustments
-- changed the subject to "/r Mail Back Please" to make it compatible to Auto Mail Return

- v.0.3.0
-- added an option to be reminded whenever mails are expiring

- v.0.2.0
-- added the option to choose the chat output on sending (complete list or just number of items)

- v.0.1.0
-- release
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Uploader
Date
0.5.0
10kB
Irniben
08/05/21 10:38 AM
0.4.0
10kB
Irniben
08/04/21 05:31 AM
0.3.0
10kB
Irniben
08/04/21 01:55 AM
0.2.0
9kB
Irniben
07/30/21 12:45 PM
0.1.1
9kB
Irniben
07/13/21 09:28 AM


Post A Reply Comment Options
Unread 08/06/21, 05:56 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 3696
File comments: 4506
Uploads: 68
Perfect! Thank you very much for the features, loving this addon already

Originally Posted by Irniben
Originally Posted by Baertram
The adons will check the inbox for mails with that "exact" subject text:
The most only support "RETURN", "RTS", or "BOUNCE" (in uppercase) afaik
I guess there won't be any subject text that will be perfect for everyone, so I just made that a custom one via options menu ;-)
Report comment to moderator  
Reply With Quote
Unread 08/05/21, 11:19 AM  
Irniben
 
Irniben's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 66
Uploads: 6
Originally Posted by Baertram
The adons will check the inbox for mails with that "exact" subject text:
The most only support "RETURN", "RTS", or "BOUNCE" (in uppercase) afaik
I guess there won't be any subject text that will be perfect for everyone, so I just made that a custom one via options menu ;-)
Report comment to moderator  
Reply With Quote
Unread 08/04/21, 08:48 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 3696
File comments: 4506
Uploads: 68
Originally Posted by Irniben
Changed the subject to "/r Mail Back Please"
I doubt that /r Mail Back Please will work with any of these addons to autoamtically return the mails.
The adons will check the inbox for mails with that "exact" subject text:
The most only support "RETURN", "RTS", or "BOUNCE" (in uppercase) afaik

And if they find mails with that subject they will use teh return to sender feature autoamtically.

Addons I know which do it:
MailR
PostMaster Mail

Edit:
Didn't know there is Auto mail return but PostMaster is more spread I think. MailR was in the past (dunno if it still works though)
Last edited by Baertram : 08/04/21 at 08:51 AM.
Report comment to moderator  
Reply With Quote
Unread 08/04/21, 05:35 AM  
Irniben
 
Irniben's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 66
Uploads: 6
As always - thank you for the feedback, Baertram!

Originally Posted by Baertram
Could you please add support for it so it checks if the items are marked with any marker icon which prevents the attachment to a mail?
Done.

Originally Posted by Baertram
Just strip the [n] = and it will be WAY EASIEr to maintain your settings and insert other options in between. lua creates the indices itsself.
Funny, had the same idea earlier - don't know why I didn't do it that way. Changed it, thanks.

Originally Posted by Baertram
You did forget to add Server support in the savedvars!
Oh, yes, you're right. Changed it (default settings will be migrated if they exist and server dependent settings don't)

Originally Posted by Baertram
Several "auto return" mail bots exist already bu they do use the mail subject text as info if they should send back.
Thanks for that info - I wasn't aware. Changed the subject to "/r Mail Back Please"

Originally Posted by Baertram
And just in case the mail attachments count will change one day you should use the given constants rather then using fixed numbers
And changed that too - thanks again
Report comment to moderator  
Reply With Quote
Unread 08/04/21, 04:12 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 3696
File comments: 4506
Uploads: 68
Cool addon, thanks for that.
I'm currently doing it half-automated via MailBuddy (to remember last recipient and subject + text), DoItAll (attach all visible items to mail) and FCOItemSaver (respect protected items so they won't be attached).
Speaking of the latest one: Could you please add support for it so it checks if the items are marked with any marker icon which prevents the attachment to a mail?

Code:
## OptionalDependsOn: FCOItemSaver>=218
The global to check if addon is loaded
Code:
FCOIS
The API function to check if items are protected agaisnt mailing:
Code:
 --settings.respectFCOISAntiMail -> Your LAM settings checkbox if you want to add one
 if FCOIS and settings.respectFCOISAntiMail then
   local isProtectedAgainstMail = FCOIS.IsMailLocked(bagId, slotIndex)
 end
This would be great, thank you very much!

btw:
Code:
	local optionsData = {
		[1] = {
		},
                [2] = ...
Just strip the [n] = and it will be WAY EASIEr to maintain your settings and insert other options in between. lua creates the indices itsself.

Important:
You did forget to add Server support in the savedvars!
ZO_SavedVars:NewAccountWide("MailBackPleaseSavedVariables", 1, nil, {}) -- account wide
Please always use GetWorldName() as the profile or somewhere in the settings as many users play on EU, NA, PTS meanwhile and do not have the same @accounts to send mails to there!

And one more hint:
Several "auto return" mail bots exist already bu they do use the mail subject text as info if they should send back.
The subject does not need to be a custom text like "Mail back please" but "RETURN" "RTS" "BOUNCE" e.g.
So I'd rather use "RETURN" as mail subject so users using any of the return bots will just send the mails back and the others not using them can read the quotes ;-)

And just in case the mail attachments count will change one day you should use the given constants rather then using fixed numbers
Lua Code:
  1. if #myList == 6
MAIL_MAX_ATTACHED_ITEMS
Last edited by Baertram : 08/04/21 at 04:20 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: