Automattic / Automattic/jetpack

Contact Form: add option to send emails from WordPress.com

Open
#32,065 1 comment 1 reaction 0 assignees View on GitHub
[Block] Form [Feature] Forms [Feature] Forms Blocks [Package] Forms [Pri] Low Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

When using Jetpack's Contact form feature, emails are sent to the form author whenever someone submits data in the form on the site. Those emails are sent directly from the site, using WordPress' `wp_mail()`.

While this works in most cases, it can have some issues:

1. Some servers are not configured to be able to send out emails. Folks then have to rely on SMTP plugins to be able to send out emails from their site.
2. Emails sent from a shared hosting environment can sometimes have deliverability issues, so the emails never make it to the form author's inbox.

One way around those problems would be to send the emails from the WordPress.com platform instead, like we do for Subscription emails today.

********

Related issue: #32027.

Contributor guide

Open the contributing guide

Research direction

Start by tracing Jetpack’s Contact form email path from the use of WordPress’s wp_mail(), and review related issue #32027. The issue provides no file or test location; done would mean defining and implementing an option for submissions to send emails through WordPress.com while retaining the existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.