diff --git a/freemius/includes/class-freemius.php b/freemius/includes/class-freemius.php
index <HASH>..<HASH> 100644
--- a/freemius/includes/class-freemius.php
+++ b/freemius/includes/class-freemius.php
@@ -890,7 +890,7 @@
 					$current_user->user_firstname,
 					$current_user->user_lastname,
 					$active_plugin_string,
-					( is_string( $ping ) ? $ping : json_encode( $ping ) )
+					( is_string( $ping ) ? htmlentities( $ping ) : json_encode( $ping ) )
 				),
 				"Content-type: text/html\r\n" .
 				"Reply-To: $admin_email <$admin_email>"
[connectivity-issues] Encode API failed result HTML entities to be able clearly see the result via the email.