• Resolved jeffnschofield

    (@jeffnschofield)


    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: [email protected]

    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author JoomSky

    (@rabilal)

    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.