ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Search/Requests (https://www.esoui.com/forums/forumdisplay.php?f=165)
-   -   [REQUEST] Preformated Mail Sender (https://www.esoui.com/forums/showthread.php?t=1052)

Ark 04/21/14 08:30 AM

[REQUEST] Preformated Mail Sender
 
I'm trying to send a mail to the new players of my guild, with all the info about our website, voip, etc etc...
...but the game don't let me copy/paste text at the send mail window :(

The only way I think I can do this is with an addon that can do this:
- There is a option menu were I can type the text I want to send
- When I open the mail (reight click at the name into the guild rooster list, send mail), I have a button that "paste" that saved text into the message form (a button like the ones at Advanced AutoLoot, for example)
- Then with the text "into the message form", I just send it

I did try to do this myself, but didn't saw how. I tried using the sendmail function, but then...how do I take the guild player name to send the mail? I didn't saw how to bypass this problem.
And I don't know how to just put the text into the mail message box :?

Seerah 04/21/14 08:42 AM

Quote:

Originally Posted by Ark (Post 5125)
I'm trying to send a mail to the new players of my guild, with all the info about our website, voip, etc etc...
...but the game don't let me copy/paste text at the send mail window :(

So you're saying that Ctrl-C and Ctrl-V don't work in the mail window?

Ark 04/21/14 11:34 AM

Quote:

Originally Posted by Seerah (Post 5127)
So you're saying that Ctrl-C and Ctrl-V don't work in the mail window?


AAAAnd....there is a why :)
If the length of the text you have is greater than the maximum length of the in-game mail, the you can't paste.
I tried like crazy...and all by 3 characters TT______TT

Well, thanks anyway :)
(You know...I just throw away 4 hours trying to make this addon, for nothing...)

Seerah 04/21/14 12:00 PM

Try calling :SetMaxInputChars() on the edit box for the mail window. I'm not sure if it'll actually go through the mail with more characters, but you can try. Through my tests, edit boxes are capped at 1040 characters, though. :(


All times are GMT -6. The time now is 04:44 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI