Refresh ingame mailbox?

Hello,

i create a new entry in the mail table. That works really good but now i have the problem that the mailbox dont refresh ingame. I must relogg with my character to see the mail in my mailbox and the mail icon at the mini map. I found nothing like a refresh methode or something like that. Has anyone an idea?

Mail data seems to be loaded only when needed, and after that never.

You would need to call Player::_LoadMail() at least.

Adding new entries directly into mail db is a really bad idea.

QFT

Use RA, or, even better, SOAP commands to create mails.

I dont create directly a new entry in the database. I create a new command for players which send an mail to annother player. I use the cs_list mail section code and rewrite it for my own command.

Mail data seems to be loaded only when needed, and after that never.

You would need to call Player::_LoadMail() at least.

I will try it.

Thanks for help.