Automattic / Automattic/studio

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

Open
#404 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
517
Forks
95
Avg merge
1d 22h
Merged PRs (30d)
162

Description

### 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](https://github.com/Automattic/studio/issues/181)).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.