Quantcast ESOUI - View Single Post - How to send mails?
View Single Post
08/20/18, 03:01 PM   #2
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 49
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.
__________________
A long out of game time - just has no wish to play ESO. | ESO PC EU: @SilverWF
Addons: Advanced Autoloot Renewed, BeggingTheGear, Wykkyd Toolbar Updated
  Reply With Quote