MyBB Community Forums

Full Version: Submit SQL query for a new PM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm allow users to log in via a program and send a PM to other users.

I've got it to the point that the PM goes to the correct user's inbox but it appears to be marked as read and the PM notice doesn't appear.

Would anybody be able to give an example sql query that would allow the PM to go to uid 1 from uid2 and to uid1's inbox and showing as unread.