Automattic / studio

Studio by WordPress.com, a free desktop app that helps developers streamline their local WordPress development workflow.
https://developer.wordpress.com/studio/
GNU General Public License v2.0
200 stars 19 forks source link

Feature Request: Include Support for Email Configuration in Local Studio Sites #404

Open i11za opened 4 months ago

i11za commented 4 months ago

What

User reported encountering issues when trying to configure and send emails from WordPress Studio local development site.

The configuration process seems to work on shared demo sites but fails on local sites with an error message indicating failure to send a test email. The steps to reproduce include configuring the Brenda plugin for email sending locally and attempting to send a test email, which results in a failure, even though the same configuration works on shared demo environments.

A proposed feature request is to extend the current capabilities of WordPress Studio to support email sending configurations for local development sites in a manner similar to the shared demo sites. The feature should include troubleshooting documentation, error-logging mechanisms, and recommendations or integration options for setting up a local mail server, if necessary.

An example screenshot of the issue and configuration steps can be found in the user report here: 8544988-zd-a8c

Discussed on Slack here: p1722267841817179-slack-C06DRMD6VPZ

Why

The lack of support for email configurations on local Studio development sites is an obstacle for developers trying to test and simulate a fully functional WordPress environment. This feature will solve the problem by allowing seamless email testing, which is critical for development related to user notifications, transactional emails, and other email-dependent functionalities within WordPress. Providing a clear and supported path for configuring emailing capabilities locally will enhance developer productivity and align the local development experience more closely with the live environment.

How

Quoting below the discussion on Slack:

If the same configuration for sending emails works on a demo site, I presume that there's a limitation when using local sites. We'd need to try to reproduce the issue to get more information about the lack of compatibility. My gut feeling is that this might be related to missing a PHP library in Playground like cURL (reference).

github-actions[bot] commented 4 months ago

Support References

This comment is automatically generated. Please do not edit it.

wojtekn commented 3 months ago

Related issue: https://github.com/Automattic/studio/issues/24