• Resolved ArtZ91

    (@artz91)


    The Headers row value in .wp-mail-logging-modal-row-value-headers element echoed with wp_kses_post method, but it’s breaks the Reply-To email address output:

    Original header:
    Reply-To: John Smith <john.smith@somesite.com>,\nContent-Type: text/html

    Actual output:
    Reply-To: John Smith ,\nContent-Type: text/html

    See /src/Renderer/Format/BaseRenderer.php:178

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @artz91,

    Thanks for reaching out! Could you please provide more information on how to reproduce this issue?

    For example, I used the Contact Form 7 plugin to set the headers, and when testing, I observed the following result: https://a.supportally.com/i/9eg98e.

    Once we have more information, we can further investigate and work towards a resolution.

    Thank you for your cooperation!

    Thread Starter ArtZ91

    (@artz91)

    $headers = [];
    $headers[] = 'Reply-To: John Smith <john.smith@somesite.com>';
    $sent = wp_mail( $to, $subject, $message, $headers );
    Plugin Support Darshana

    (@darshanaw)

    Hi @artz91,

    Thank you for your patience and for providing the additional details.

    It appears that the current sanitization method used by the plugin is too restrictive, which is causing the issue with the Reply-To header not displaying the email address correctly.

    I’ve forwarded this issue to our development team for further investigation. They will make the necessary changes and will release an update once a solution is finalized.

    We appreciate your understanding and cooperation.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Incorrect Headers format in modal row’ is closed to new replies.