Title: Client side emails random characters
Last modified: July 10, 2019

---

# Client side emails random characters

 *  Resolved [jeffnschofield](https://wordpress.org/support/users/jeffnschofield/)
 * (@jeffnschofield)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/client-side-emails-random-characters/)
 * When the customer only not admin receives emails from the system the formatting
   has random characters and HTML. The email templates are default.
 * Example below:
    Dear jsmith,
 * Your support ticket HELP! has b= een submitted. We try to reply to all tickets
   as soon as possible, usually = within 24 hours.
 * Your tracking ID: gdcCV2tfq
 * Your Ema= il ID: [jeff.smith@pdgeng.com](https://wordpress.org/support/topic/client-side-emails-random-characters/jeff.smith@pdgeng.com?output_format=md)
 * Ticket message:
    I need help inst= alling some software.
 * You can view the status of your t= icket here:
 * Ticket Detail
    You will receive an e-mail notification when our staff replies
   to= your ticket.
 * *DO NOT REPLY = TO THIS E-MAIL*
 * This is an automated e-mail messa= ge sent from our support system. Do not reply
   to this e-mail as we wonot re= ceive your reply!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fclient-side-emails-random-characters%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [JoomSky](https://wordpress.org/support/users/rabilal/)
 * (@rabilal)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/client-side-emails-random-characters/#post-11776497)
 * Hi,
 * If any one have this issue, try this
 * Edit
    ../wp-content/plugins/js-support-ticket/modules/email/model.php
 * Find
 *  $body = preg_replace(‘/\r?\n|\r/’, ‘<br/>’, $body);
    $body = str_replace(array(“\
   r\n”, “\r”, “\n”), “<br/>”, $body); $body = nl2br($body);
 * Replace with
    //$body = preg_replace(‘/\r?\n|\r/’, ‘<br/>’, $body); //$body =
   str_replace(array(“\r\n”, “\r”, “\n”), “<br/>”, $body); //$body = nl2br($body);

Viewing 1 replies (of 1 total)

The topic ‘Client side emails random characters’ is closed to new replies.

 * ![](https://ps.w.org/js-support-ticket/assets/icon-128x128.png?rev=3337825)
 * [JS Help Desk – AI-Powered Support & Ticketing System](https://wordpress.org/plugins/js-support-ticket/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-support-ticket/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-support-ticket/)
 * [Active Topics](https://wordpress.org/support/plugin/js-support-ticket/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-support-ticket/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-support-ticket/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [JoomSky](https://wordpress.org/support/users/rabilal/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/client-side-emails-random-characters/#post-11776497)
 * Status: resolved