September 24, 2018 at 7:21 am #133711
I have the automation plugin and have set up Sparkpost successfully, except for the CNAME confirmation (which won’t work despite setting up a subdomain account on Sparkpost). I have the domain verified on the account dashboard in Sparkpost and have generated a new API key and pasted into Inbound Pro settings on WP and still it says its invalid and the sender domain hasn’t been verified. (I’ve attached a screenshot). Equally I cannot sent a test email, I can preview successfully but sending the wheel just spins. Any suggestions on how to rectify this?
Also is there a list of troubleshoots for the Sparkpost/Automation set up beyond the documentation on the site? I have sank a lot of time just trying to get this off the ground and I’ve made little progress.
PhilSeptember 24, 2018 at 2:30 pm #133713
My gut is telling me there is a theme/plugin conflict causing our AJAX saving methods to not save, hence the never ending spinning when trying to send a test email. This could be negatively affecting SparkPost API validation as well.
We can confirm this by running a theme/plugin conflict test:September 24, 2018 at 2:33 pm #133714September 27, 2018 at 1:59 am #133727September 27, 2018 at 7:00 pm #133730October 1, 2018 at 6:21 am #133741October 1, 2018 at 9:57 pm #133747
Just made it into SparkPost and am running tests.
Turns out that this issue is related to SparkPost EU support. SparkPostEU runs on a different API server. I just coded in support and loaded my changes into your site. (For everyone else support will be available in the next Inbound PRO release.) SparkPost EU servers must be relatively new. First time I’ve seen the option.
Everything seems to be good now and the API connection working.
There still is one problem when I try running an email test. The CURL procedure seems to be failing when we’re using it to connect to an email preview page to render it for it’s HTML.
To be honest I am not sure why. I have a gut feeling it it security related. I ran a test as a SparkPost EU user from my local and made sure the coding was correct. There was no problem there.
I found this this article that may suggest it was a server setting https://www.samuelaguilera.com/post/curl-error-28-wordpress
I tried the advice of setting this piece of code into play:
add_filter( 'https_local_ssl_verify', '__return_true' );
But it did not work. At this point it could not hurt to know a little more about your host and possibly open a support ticket with them asking if there are any rules that would prevent the site from making a CURL call to itself, and providing an error that looks like this:
Inbound PRO had an error loading this email variation. Please check the debug details below for clues to solving. Variation Destination: https://www.yourwebsitedomain.co.uk/mail/2647/?inbvid=0&disable_shortcodes=1 WP_Error Object ( [errors] => Array ( [http_request_failed] => Array (  => cURL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received ) ) [error_data] => Array ( ) )October 2, 2018 at 1:46 pm #133757October 2, 2018 at 6:02 pm #133761
The topic ‘[Marketing Automation] Test email not sending, Sparkpost not working on WP’ is closed to new replies.