Reply To: Filtering E-mail Message Content
half solved.. of course I can get the sender’s username with:
$sender_username = bp_core_get_username(bp_loggedin_user_id())
but I can’t use displayed_user_id for the recipient’s ID, because when you send messages you send them from your own profile.
So, still looking for a way to get the recipient’s ID (and therefor, their username using bp_core_get_username($theid)