Support

Home Forums Event Espresso Premium Ticket link error continued

Ticket link error continued

Posted: November 9, 2017 at 7:53 pm

Viewing 3 reply threads


Craig

November 9, 2017 at 7:53 pm

Hi Josh and Tony,

Many thanks for your help on this thread:

https://eventespresso.com/topic/pdf-ticket-email-facility-request-for-development/#post-254135

We are still attempting to get to the bottom of what is producing the miscreant ‘=’ in the code from the plugin.

Would you be able to provide evidence that the correct code is being generated by the plugin please?

Cheers and thanks,

Tyson.


Tony

  • Support Staff

November 10, 2017 at 2:13 am

Would you be able to provide evidence that the correct code is being generated by the plugin please?

Without meaning for this to come across the wrong way, you’re the only user reporting this issue, so it’s not an issue with the plugin itself. If this was due to our code everyone would be affected and all of your ticket emails would also show the same problem.

All of my test sites work correctly and Josh posted a link to the code used to generate that link here:

https://eventespresso.com/topic/pdf-ticket-email-facility-request-for-development/#post-254182

So if we use that code in Debug Bar’s console to run it (we need to make a couple of changes for it to work there but the logic used is the same) it looks like this – http://take.ms/OXDfj

There are 2 possible settings for that link with approved_only, the above is with that set to false, now true – http://take.ms/H6JJA

I’ve blurred the domain as that’s one of my live sites, but as you can see, the link is generated correctly with both settings.

The most likely cause for this is an issue with the mail server you are using, EE basically builds out the content of the email and passes it to wp_mail(), wp_mail checks the formatting, adds any headers that may be required, then passes the email over to your server to do whatever it is setup to do (which is usually use your servers mail server).

I’d recommend signing up to a transactional email service such as the ones listed here: https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/

And use that service to send your emails and see if you run into the same problem (those servers are usually more likely to be setup correctly and not cause issues).

You could also install the WP Mail Logging plugin on your site which saves every email sent from your site (its saves it using wp_mail just before it is passed onto whatever server it is using) and see if you can see the issue in the ticket emails saved in the log (which could mean you have code hooking into wp_mail that is adding that content, but imo that’s unlikely).


Craig

November 10, 2017 at 3:29 am

Hi Tony,

Many thanks for your thorough explanation and for pointing out that others haven’t experienced this issue. That’s great, and it looks like this may point to the mail server in our case. I’ll get this looked into1

Thanks again for your prompt and thorough support. Most appreciated.

Cheers, Tyson.


Tony

  • Support Staff

November 10, 2017 at 3:48 am

You’re most welcome, please do let us know how you get on.

Viewing 3 reply threads

The support post ‘Ticket link error continued’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso