Comments (8)
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.
Yes thats correct. Thanks.
from wordpress-sparkpost.
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.
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
settings attached
from wordpress-sparkpost.
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.
Thanks @richleland I've deactivated other plugins but the issue still occurs. There are no email plugins installed. The override settings screenshot is attached.
from wordpress-sparkpost.
@richleland I couldn't reproduce this same thing but another user reported same issue.
from wordpress-sparkpost.
Closing this as we've heard about it recently; assuming it's not an issue anymore.
from wordpress-sparkpost.
Related Issues (20)
- Allow option to raise email exceptions HOT 1
- Support adding Campaign tag HOT 1
- Newly installed sparkpost plugin, getting SSL error: Failed to enable crypto HOT 3
- Show admin-wide alert if plugin is not ready to send!
- BuddyPress not sent with SparkPost HOT 3
- Why is Content-Type unsupported? HOT 9
- API Transmission Endpoint Changes HOT 2
- Retry transmissions after 5xx Error HOT 1
- Sparkpost replaces the url with a custom url HOT 3
- Emails could not be sent. htmlentities() expects parameter 1 to be string, array given in xxx HOT 8
- Missing assets folder in plugin installation HOT 6
- Retry transmissions after cURL error
- QUIT
- Sparkpost for only one contact form?
- reply-to not working
- Disable SparkPost mailer using a PHP constant
- Plugin uses incorrect bounce domain HOT 1
- Wondering if this plugin is still being maintained? HOT 1
- Deprecated notice on WP 5.5 HOT 2
- Fatal error: Uncaught Error in PHPMailer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-sparkpost.