We are introducing an integration with SendWP for improved email deliverability.
Implementation is ready for testing: #7266
To test:
sendwpConnect SendWPOne note: after successfully signing up for SendWP, you will be redirected to Tools > SendWP. The SendWP team is working on an improvement that will allow us to specify a custom redirect URL so we can send them back to the Emails tab in our own settings to avoid context switching.
Ok I've tested the signup flow, and all seems to work fine. When I tried to disconnect, i got these in my error logs:
[23-May-2019 18:23:11 UTC] PHP Deprecated: Non-static method SendWP\Assets::image_url() should not be called statically in /app/wp-content/plugins/sendwp/includes/admin/views/menu.html.php on line 8
[23-May-2019 18:23:11 UTC] PHP Stack trace:
[23-May-2019 18:23:11 UTC] PHP 1. {main}() /app/wp-admin/tools.php:0
[23-May-2019 18:23:11 UTC] PHP 2. require_once() /app/wp-admin/tools.php:10
[23-May-2019 18:23:11 UTC] PHP 3. do_action() /app/wp-admin/admin.php:253
[23-May-2019 18:23:11 UTC] PHP 4. WP_Hook->do_action() /app/wp-includes/plugin.php:465
[23-May-2019 18:23:11 UTC] PHP 5. WP_Hook->apply_filters() /app/wp-includes/class-wp-hook.php:310
[23-May-2019 18:23:11 UTC] PHP 6. {closure:/app/wp-content/plugins/sendwp/includes/admin/load.php:7-19}() /app/wp-includes/class-wp-hook.php:286
[23-May-2019 18:23:11 UTC] PHP 7. include() /app/wp-content/plugins/sendwp/includes/admin/load.php:15
[23-May-2019 18:23:12 UTC] PHP Deprecated: Non-static method SendWP\Assets::image_url() should not be called statically in /app/wp-content/plugins/sendwp/includes/admin/views/menu.html.php on line 8
[23-May-2019 18:23:12 UTC] PHP Stack trace:
[23-May-2019 18:23:12 UTC] PHP 1. {main}() /app/wp-admin/tools.php:0
[23-May-2019 18:23:12 UTC] PHP 2. require_once() /app/wp-admin/tools.php:10
[23-May-2019 18:23:12 UTC] PHP 3. do_action() /app/wp-admin/admin.php:253
[23-May-2019 18:23:12 UTC] PHP 4. WP_Hook->do_action() /app/wp-includes/plugin.php:465
[23-May-2019 18:23:12 UTC] PHP 5. WP_Hook->apply_filters() /app/wp-includes/class-wp-hook.php:310
[23-May-2019 18:23:12 UTC] PHP 6. {closure:/app/wp-content/plugins/sendwp/includes/admin/load.php:7-19}() /app/wp-includes/class-wp-hook.php:286
[23-May-2019 18:23:12 UTC] PHP 7. include() /app/wp-content/plugins/sendwp/includes/admin/load.php:15
Also, there is a strange 'flow' here.
When I Connect I'm redirected to the sign up/log in process, and then back to EDD's settings for Email.
When I Disconnect I'm just directed to the SendWP settings page in Tools. However there I don't officially Disconnect. I'm just stopping sending of emails. What happens in the event the user wants to 100% remove the connect from SEndWP to EDD?
Also I think once Connected we should change up the messaging a bit to state that we are connected and if our disconnect doesn't really disconnect, that we should change that button to something that relates that we're going to 'View SendWP Settings'.
@cklosowski that PHP notice is coming from the SendWP plugin itself. Saturday Drive is aware of it and have fixed it for their next version.
I'll look into the Disconnect option to see if I can make that smoother.
@cklosowski pushed updates to:
Went through some testing. Overall, everything seems to be working great.
EDD core emails are properly sending through feedblitz. Extensions like Commissions are also properly sending emails.
The Tools -> SendWP option to disable sending is working as expected, toggling sending and not sending the emails.
Set up was simple, though I did run into a problem initially testing with a local site. I thought I'd be okay with my edd.local site, but I wasn't. That's fine, but I was stranded on the sendwp.com site with nothing more than a notice that my URL was bad, and a button to retry the connection (which would fail, obviously). I had already created my account and provided a credit card, but no status of my account was provided. I only know my information was saved because I tried reconnecting on a _live_ test site, and this time I logged in instead of registering a new account. My info, including the credit card, was there.
Connecting to and disconnecting from SendWP from the EDD Emails settings is working as expected.
I would like to implement UI tweaks. Here's my inspiration:

Been working on this locally, though I can't _properly_ test since SendWP won't connect to a local site. I'm about to push a commit simply so I can pull it down on my live test site and test there. Don't mind me.
Almost nailed it. Need to fix some logic for when SendWP is connected, but sending is disabled.
Working on it.
Fixed. That's my stab at the UI. Feedback appreciated. @cklosowski @pippinsplugins
@SDavisMedia that is _lovely_. So much better!
Note on local: SendWP doesn't currently support connecting any site that has localhost. It's an issue on the server end and they're aware of it.
I'll get the documentation going!
Following documentation needs updated:
Email delivery failure under Technical Support@SDavisMedia new UI looks great!
Only see one minor language thing:
by routing all of the emails sent by WordPress through a dependable email server.
emails for your site will now be automatically processed through SendWP
I think using routing in the second instance as well would be better.
@spencerfinnell updated.
Would it be better to say routed in the second instance, instead?
To address concerns raised about not being clear enough that SendWP is a paid service, I've changed For more information, see the documentation. to For more information on this paid service, see the documentation..
@michaelbeil I changed it to routed.
I believe this is ready for final review and merge. As soon as it's merged and deployed, the final documentation updates will be done and published.
@pippinsplugins
Agreed. Im going to merge tonight and work towards wrapping the release.
💯
On Wed, May 29, 2019 at 9:14 PM Chris Klosowski notifications@github.com
wrote:
Closed #7267
https://github.com/easydigitaldownloads/easy-digital-downloads/issues/7267
.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/easydigitaldownloads/easy-digital-downloads/issues/7267?email_source=notifications&email_token=AAH4O7MCBE6ZVHDIMD253GTPX4Z7RA5CNFSM4HNX2OXKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORWWJ6EY#event-2376900371,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH4O7KOEURJLWSWUIFNDNLPX4Z7RANCNFSM4HNX2OXA
.
Documentation published, edited, and support form updated.
Most helpful comment
I would like to implement UI tweaks. Here's my inspiration: