Quantcast How to send mails? - ESOUI
Thread Tools Display Modes
08/20/18, 02:34 PM   #1
hardballking
Join Date: Aug 2018
Posts: 5
How to send mails?

The SendMail() command doesn't work within my addon. Is there any kinde of parameter I have to pay attantion? or are there any special conditons that have to be meet.
EVENT_MANAGER:RegisterForEvent(self.name, EVENT_ACTIVITY_FINDER_ACTIVITY_COMPLETE,self.ActivityEnd)


function TestAddOn.ActivityEnd()
SendMail("@someon", "Titel", text_to_send)
end

text_to_send is just some text

Last edited by hardballking : 08/20/18 at 03:08 PM.
  Reply With Quote
08/20/18, 03:01 PM   #2
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 47
Originally Posted by hardballking View Post
The SendMail() command doesn't work within my addon. Is there any kinde of parameter I have to pay attantion? or are there any special conditons that have to be meet.
EVENT_MANAGER:RegisterForEvent(self.name, EVENT_ACTIVITY_FINDER_ACTIVITY_COMPLETE,self.ActivityEnd)


function TestAddOn.ActivityEnd()
SendMail("@someon", "Titel", text_to_send)
end
Well, text_to_send is variable, but your function didn't specify it. Sure, it can be global for your addon variable, specified at Init - I dunno.
__________________
ESO PC EU: @SilverWF
Addons: Advanced Autoloot Renewed, BeggingTheGear, Wykkyd Toolbar Updated
  Reply With Quote
08/20/18, 03:11 PM   #3
hardballking
Join Date: Aug 2018
Posts: 5
Even if i send some text like "hi" it diden't work
  Reply With Quote
08/21/18, 02:27 AM   #4
hardballking
Join Date: Aug 2018
Posts: 5
i have the solution you need to call RequestOpenMailbox() befor and CloseMailbox() after SendMail
  Reply With Quote
08/23/18, 11:49 AM   #5
Cheryl Lowry
 
Cheryl Lowry's Avatar
Join Date: Aug 2018
Posts: 5
it really works? Need to try
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » How to send mails?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off