This is something I came across today which I was unaware of, so I thought I'd share it with the rest of the community. If you're in a user group which allows you to track your private messages (User CP > Tracking), you can cancel a message which has not yet been read by the recipient by checking the message and clicking on "Cancel the selected messages".
![[Image: ppIUbfj.png]]()
I had always assumed the two buttons did the same thing, until I checked the code:
Happy messaging.
![[Image: ppIUbfj.png]](http://i.imgur.com/ppIUbfj.png)
I had always assumed the two buttons did the same thing, until I checked the code:
PHP Code:
$db->delete_query("privatemessages", "pmid IN ($pmids) AND receipt='1' AND status='0' AND fromid='".$mybb->user['uid']."'");
Happy messaging.