Git Product home page Git Product logo

Comments (9)

rajumsys avatar rajumsys commented on July 19, 2024

Hi @cfk4spk
You're at the right place and we'll be happy to help :)

Those warnings are from plugin for sure. However, it looks like there is something wrong with the request the plugin making from the server. The responses aren't expected which is the reason of those warnings.

Can you use the Test email feature from plugins settings page and post here the debug messages? Thanks

from wordpress-sparkpost.

cfk4spk avatar cfk4spk commented on July 19, 2024

I certainly don't know why this would just start happening today . . . it seemed to be working fine before . . .

Here is the debug info (minus actual domain name - which they'd prefer I keep 'private').

Debug Messages

Preparing request data
Request headers: Array( [User-Agent] => wordpress-sparkpost [Content-Type] => application/json [Authorization] => f489************************************)
Request body: {"recipients":[{"address":{"email":"[email protected]","name":""}}],"content":{"from":{"email":"[email protected]","name":"domain"},"subject":"SparkPost email test","headers":{"Date":"Mon, 25 Apr 2016 18:08:22 +0000","Message-ID":"[email protected]","X-Mailer":"PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)"},"template_id":"ourtemplate"},"options":{"open_tracking":true,"click_tracking":true},"substitution_data":{"content":"

Hurray!!</h3>\n

You’ve got mail! </p>\n

Regards,<br /><a href="https://www.sparkpost.com">SparkPost</a> WordPress plugin</p>\n","subject":"SparkPost email test","from_name":"domain"}}
Making HTTP POST request to https://api.sparkpost.com/api/v1/transmissions
Response received
Response headers: Array( [cache-control] => no-cache, no-store [content-type] => application/json [date] => Mon, 25 Apr 2016 18:08:23 GMT [server] => msys-http [vary] => Accept [content-length] => 108 [connection] => Close)
Response body: { "results": { "total_rejected_recipients": 0, "total_accepted_recipients": 1, "id": "30273119529815200" } }
Successfully sent to 1 recipient(s)
Transmission ID is 30273119529815200

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

(minus actual domain name - which they'd prefer I keep 'private')
👍

Did you see any warning? I see the correct response is generated so I believe no warning generated this time.

from wordpress-sparkpost.

cfk4spk avatar cfk4spk commented on July 19, 2024

You are correct -- I did not get the 'warning' this time.
So . . . why the heck did it show up -- (72 times so far) - for emails being sent from our forum? ;-)
Is it likely just a 'fluke'? Shall I just monitor - to see if it continues? or . . . ?

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

I think there is an issue while making the request (when the warning is generated). It would be good if we could catch the response when the warning is generated.

Is your email delivered when the warning shown?

from wordpress-sparkpost.

cfk4spk avatar cfk4spk commented on July 19, 2024

Ok - although I think I need help to tell to figure out 'how' I might 'catch the response when the warning is generated' (?)

I believe that yes -- the emails are being delivered -- even when the warning is coming in. I KNOW that at least some of them are being delivered -- I haven't been able to confirm all have been received. (I'll try to explain what I mean - sorry that I'm not more technically-capable here):
The error seems to be somehow related to email notifications - of a new topic being generated at our forum. (Someone created a new topic at approx 11:17am today -- and the notification was sent to approx 240 people - and I can't seem to "see" any problems on our SparkPost dashboard). But at that time, I received 71 error messages from our hosting server's 'cron daemon' -- with the warning I told you about.

Later, another new topic was created (approx 12:30pm) -- and I received ONE 'error message' - with the same warnings.

I've asked several members - and they DID receive the emails. I don't "see" any major issue on our SparkPost dashboard . . .

other emails seem to work fine too . . . 'password reset' etc . . . not receiving error messages for those . . . and, haven't received error messages for forum 'replies' . . . .

I'm not sure how I can narrow this down . . .
I'm also not sure if it might be something on my host's end of things(?)
* --- I really do not wish to waste YOUR time here -- especially if this MIGHT be on hosting end or something.*

Note: (fwiw): I did find one other error message from my 'cron daemon' -- something about 'too many connections' . . . and 'cannot modify header info' --- which was also new today --- tho received at a completely different time of day (4am).

If you can help tell me how I can "catch the response when the warning is generated" -- I will do it!

I'm going to clone the site -- so that I can 'play' a bit, without having to actually email all the members with test messages . . .
Any other advice / suggestions / etc . . . I'm totally willing to do whatever . . . .

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

Note: (fwiw): I did find one other error message from my 'cron daemon' -- something about 'too many connections' . . . and 'cannot modify header info' --- which was also new today --- tho received at a completely different time of day (4am).

This particular thing is interesting because that's something I was thinking about. There request wasn't successful for some reason (like throttling, malformed message body etc).

from wordpress-sparkpost.

cfk4spk avatar cfk4spk commented on July 19, 2024

Hi again -- it is sounding to me like this is NOT any kind of problem with your plugin (even tho my host pointed me back to you). :-\

I have run a couple of tests -- sent approx 500 emails through the same setup . . . (on the same hosting server).
Emails were delivered successfully - and I've not received any error messages.

Ugh . . . I'm feeling bad -- that I have wasted your time

If I continue to run into issues, I may eventually have to check with you further --- but I think this 'issue' should be closed. For now, I'll "blame" it on my host / server . . . whether it was a 'server glitch' or whatever . . .
Somehow, I had a weird feeling about this from the start . . . it just didn't "add up" -- to suddenly receive error messages, after things had been running smoothly.

THANK YOU for your help!
Please forgive me for taking your time. I know that you are very busy, and I mean no disrespect of that.
I hope I can make it up to you at some point.

Chris

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

@cfk4spk sounds good. please feel free to re-open this issue if you run into this issue again. 👍

from wordpress-sparkpost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.