open All Channels
seplocked EVE Technology Lab
blankseplocked Mail API question to DEVs
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Caldamen
Posted - 2011.04.05 12:44:00 - [1]
 

Mail API returns all letters from mailbox regardless letter is deleted/present in mailbox.

Is it possible to add 2 additional statuses: "unread" (allows to differentiate readed/not readed mail messages) and "deleted" (will allow to remove mail message when this message is removed ingame)

Wollari
Phoenix Industries
Wicked Nation
Posted - 2011.04.05 12:49:00 - [2]
 

I guess as long as the mail is in your Trashbox and completely deleted it will get returned via the API. The read/unread flag has been removed with the latest Mail API change cause it generated too much load and the way how read is implemented wasn't working well together with the API in general afaik.

Desmont McCallock
Posted - 2011.04.05 16:32:00 - [3]
 

Originally by: Wollari
I guess as long as the mail is in your Trashbox and completely deleted it will get returned via the API. The read/unread flag has been removed with the latest Mail API change cause it generated too much load and the way how read is implemented wasn't working well together with the API in general afaik.


With all due respect, Wollari, it has nothing to do with the mail being in Trashbox. Even if you delete it from there the mail still stays in the API. After all, the delete function doesn't delete your mail from CCP's DB but rather hides it from your listview ingame (as I suspect). All this came to my knowledge as I was coding the EVE mail & notification monitor for EVEMon (it's already available in the latest snapshot version for those interested).

What the OP suggest makes sense to me IMO.

Wollari
Phoenix Industries
Wicked Nation
Posted - 2011.04.05 17:29:00 - [4]
 

Edited by: Wollari on 05/04/2011 17:33:20
Edited by: Wollari on 05/04/2011 17:32:34
Well. Trash is just a label like any other you can freely assign. There's no real thrashbox, but I'll try to reprodce it.

I didn't said that the suggestions would not make sense. More data is always nice to have. But ccp had the read flag in the initial mail API release and removed it due to technical limitations.

Desmont McCallock
Posted - 2011.04.06 10:56:00 - [5]
 

Edited by: Desmont McCallock on 06/04/2011 13:30:49
Today's changes to API are removing the ingame deleted EVE mails from the API call returned data.

Update: CCP staff looks like still testing the API and API results switch from old way to new way.

(Still though NotificationTexts call has a cachedUntil time of 10 years.Sad) <- Was informed by PrismX that this is intended and as designed.

Catari Taga
Centre Of Attention
Middle of Nowhere
Posted - 2011.04.06 16:22:00 - [6]
 

Originally by: Desmont McCallock
(Still though NotificationTexts call has a cachedUntil time of 10 years.Sad) <- Was informed by PrismX that this is intended and as designed.

Yes, because the content does not change, so it makes sense for that call. The same cannot be said for calls like /eve/SkillTree.xml.aspx, unfortunately, but those are also "working as intended".


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only