Download
(11 Kb)
Download
Updated: 02/11/23 01:42 AM
Compatibility:
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Updated:02/11/23 01:42 AM
Created:07/13/21 09:28 AM
Monthly downloads:31
Total downloads:3,395
Favorites:3
MD5:
Mail Back Please
Version: 1.0.2
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.1.0.2
-- added the option to include crafted items

- v.1.0.1
-- added the option to include set items
-- and a second option if that includes items that have not been collected yet

- v.1.0.0
-- fixed an issue that would start sending items again everytime another mail was successfully sent

- v.0.6.0
-- added a new option to the addon's settings: when activated the addon will continue to send mails until empty or cancelled by user

- 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 (9)
File Name
Version
Size
Uploader
Date
1.0.2
11kB
Irniben
02/06/23 08:14 AM
1.0.0
11kB
Irniben
01/02/23 12:13 PM
0.6.0
11kB
Irniben
06/19/22 02:18 AM
0.5.1
10kB
Irniben
09/04/21 11:25 AM
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: 4913
File comments: 5990
Uploads: 78
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: 129
Uploads: 13
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: 4913
File comments: 5990
Uploads: 78
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: 129
Uploads: 13
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: 4913
File comments: 5990
Uploads: 78
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: