• Resolved amaurea

    (@amaurea)


    Hello,

    I was trying to set up a custom email response to rsvp on my website, and I sent one to see what the design looked like but I saw strange lines of codes at the top of the email the clients received..

    I already have a custom email on another website and this problem doesn’t occur there.

    Any idea why ?

    Thanks for your support

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Darian

    (@d0153)

    Hi @amaurea

    I’m glad you reached out. Let me help you with this one.

    Upon review, this issue appears to be related to a problem that other users have also reported, which is specific to certain email clients. To address this, you can try adding the following code snippets to your site. Please test them and let us know if they resolve the issue:

    add_filter( 'tec_tickets_emails_template_args', function ( $args ) {	
    if ( ! empty( $args['json_ld'] ) ) {
    unset( $args['json_ld'] );
    }

    return $args;
    } );

    If you’re not familiar with coding, you can use the?Code Snippets?plugin, which removes the need to add custom snippets to your theme’s functions.php file.

    As always, please test it first on a staging version of your live site to avoid unnecessary downtime.

    I hope that helps, and let me know if you have further concerns.

    Thread Starter amaurea

    (@amaurea)

    Thanks,

    With the snippet, the major problem is that the email is sent to the spam folder… which is not good

    And it removed the “code”, but I still have a random number at the top “96” that was there before

    Plugin Support tristan083

    (@tristan083)

    Hi @amaurea ,

    Thank you for your message, and I’m sorry to hear of the continued difficulties.

    Unfortunately, I have not been able to reproduce the issue about having a “96” at the top of the email in my testing environment running only The Events Calendar/Event Tickets plugins and the twenty-twenty-one theme. So, I suspect there’s a conflict that’s causing the issue here. It would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar/Event Tickets Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything. 
    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Plugin Support Darian

    (@d0153)

    Hi there,

    I hope everything is going well on your end! I just wanted to follow up and check if you’ve had the chance to review the response above. It’s been a while since we last heard from you, and I want to ensure we’re addressing your concerns effectively.

    Looking forward to your reply.

    Plugin Support Darian

    (@d0153)

    Hi there,

    We haven’t heard from you in a while, so I’m going to close this thread for now. Feel free to start a new thread if you have any more questions.

    The “96” is visible in some email clients it seems, as it is part of the RSVP email HTML for “PixelsPerInch” setting:

    <noscript>
    <xml>
    <o:OfficeDocumentSettings>
    <o:PixelsPerInch>96</o:PixelsPerInch>
    </o:OfficeDocumentSettings>
    </xml>
    </noscript>

    This may be part of a compatibility issue with the https://www.ads-software.com/plugins/email-templates/ plugin, as it wraps the Ticket/RSVP email within it’s template, so there are multiple DOCTYPE and body elements in the email which seems to cause rendering issues in some email clients.

    • This reply was modified 17 hours, 6 minutes ago by emrl.
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.