# friends/4.3.2/templates/email/friend-message-received.php

Friends, version 4.3.2. 37 lines.

- Page: https://pluginprobe.com/plugins/friends/4.3.2/code/templates/email/friend-message-received.php
- Raw: https://pluginprobe.com/plugins/friends/4.3.2/raw/templates/email/friend-message-received.php
- Modified: 2026-06-11T15:54:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/friends/4.3.2/code/templates/email/friend-message-received.php#L10-L20`.

```php
<?php
/**
 * This template contains the HTML for the Friend Message Received notification e-mail.
 *
 * @version 1.0
 * @package Friends
 */

?>
<p>
	<?php
	// translators: %s is a user display name.
		echo esc_html( sprintf( __( 'Hi %s!', 'friends' ), $args['user']->display_name ) );
	?>
</p>

<p>
	<?php
	// translators: %s is a username.
	echo esc_html( sprintf( __( 'We just received a message from %s:', 'friends' ), $args['friend_user']->display_name ) );
	?>
</p>

<blockquote class="message-content">
<?php
	echo wp_kses_post( apply_filters( 'friends_rewrite_mail_html', $args['message'], $args ) );
?>
</blockquote>


<p>
	<?php
	// translators: %s is a URL.
	echo wp_kses( sprintf( __( 'Open the <a href="%s">conversation</a> to respond.', 'friends' ), esc_url( $args['message_url'] ) ), array( 'a' => array( 'href' => true ) ) );
	?>
</p>

```
