Git Product home page Git Product logo

Comments (8)

richleland avatar richleland commented on July 19, 2024

Hi @pieman3 I'm going to look into this. I want to confirm - you're sending a test email using the SparkPost plugin's settings screen, correct?

from wordpress-sparkpost.

pieman3 avatar pieman3 commented on July 19, 2024

Yes thats correct. Thanks.

from wordpress-sparkpost.

richleland avatar richleland commented on July 19, 2024

Hi @pieman3 I haven't been able to re-create this. Can you send along more info - maybe the following:

  • Version of PHP, WordPress, and the SparkPost plugin
  • Output of the debug info from the settings screen when you send a test email (make sure to click the "Show Email Debugging Messages" checkbox
  • A screenshot of some of your settings

from wordpress-sparkpost.

pieman3 avatar pieman3 commented on July 19, 2024

Thanks @richleland details requested are...

  • PHP: 5.3.29, Wordpress: 4.5, Sparkpost Plugin: 2.2.1
  • Debug output (email and domain changed below):
    Request headers: Array( [User-Agent] => wordpress-sparkpost [Content-Type] => application/json [Authorization] => 0c9f************************************)
    Request body: {"recipients":[{"address":{"email":"[email protected]","name":""}}],"content":{"from":{"email":"[email protected]","name":"MyDomain.com"},"subject":"SparkPost email test","headers":{"Date":"Tue, 26 Apr 2016 08:32:27 +0000","Message-ID":"[email protected]","X-Mailer":"PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)"},"html":"

    Hurray!!</h3>

    You've got mail! <br/>
    Regards,<br/><a href="https://www.sparkpost.com">SparkPost</a> WordPress plugin</p>"},"options":{"open_tracking":true,"click_tracking":true}}
    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] => Tue, 26 Apr 2016 08:32:27 GMT [server] => msys-http [vary] => Accept [content-length] => 109 [connection] => Close)
    Response body: { "results": { "total_rejected_recipients": 0, "total_accepted_recipients": 1, "id": "102332347943584323" } }
    Successfully sent to 1 recipient(s)
    Transmission ID is 102332347943584323

  • Screenshot of sparkpost plugin
    sparkpost-plugin-settings
    settings attached

from wordpress-sparkpost.

richleland avatar richleland commented on July 19, 2024

Thanks @pieman3 can you include the overrides part of the settings page as well? There isn't any code specifically in our plugin that prepends www to from domains, so I'm wondering if there is a conflicting plugin that is setting this before it gets to our plugin or if PHPMailer (which we extend) is doing this. I'll look at PHPMailer but I think it's more likely another plugin is mucking with the from - do you have any other email-related plugins installed?

from wordpress-sparkpost.

pieman3 avatar pieman3 commented on July 19, 2024

Thanks @richleland I've deactivated other plugins but the issue still occurs. There are no email plugins installed. The override settings screenshot is attached.
sparkpost-plugin-settings2

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

@richleland I couldn't reproduce this same thing but another user reported same issue.

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

Closing this as we've heard about it recently; assuming it's not an issue anymore.

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.