Thread Tools Display Modes
04/30/14, 12:47 PM   #1
Zierk
 
Zierk's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 10
Mail API - mailID var

Is there a way to get the variable mailId for the currently selected mail in your mailbox?

I see the ability to get nextMailId but not mailId. I am trying to write some code that will target the currently selected piece of mail in your mailbox.

Any help at all is appreciated.
  Reply With Quote
04/30/14, 01:58 PM   #2
Teli
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 19
try
Lua Code:
  1. openMailId = MAIL_INBOX:GetOpenMailId()
  Reply With Quote
04/30/14, 06:09 PM   #3
Zierk
 
Zierk's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 10
worked like a charm, I just did a quick find through the API, where is that function "GetOpenMailId()" referenced at? I am still learning how to make addons and am trying to learn everything I can.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Mail API - mailID var


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