Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 799 forks source link

Form goes with the wrong email in some sites. #39909

Open ariel-maidana opened 6 days ago

ariel-maidana commented 6 days ago

Impacted plugin

Jetpack

Quick summary

On some sites, a Form block with a destination address different than the site owner address is set, form submission notifications go to the site owner.

Steps to reproduce

On one of the affected sites: 1) Open the page containing the form in the editor. 2) Check the Form settings and the email set in the "Email to send to" field. 3) Visit the page containing the form on the Live sire. 4) Send a test submission. 5) Check the email logs.

For the workaround: 1) Edit the form and add the site owner's address along with the original address. 2) Test again. 3) Check email logs again, for both addresses.

A clear and concise description of what you expected to happen.

The email should go to the email address set in the set in the "Email to send to" field.

What actually happened

The email went to the site owner instead.

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

Workaround: add the site owner address along with the address initially set. When both addresses are there, the notification is sent to both.

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

Context:

github-actions[bot] commented 6 days ago

Support References

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

jeherve commented 3 days ago

I am not able to reproduce the issue at the moment. I asked for more details in p9F6qB-gom-p2#comment-63217

ariel-maidana commented 3 days ago

Thank you @jeherve! I asked for the user's permission to run additional tests. Once they authorize us, I'll run the tests and document the results.

ariel-maidana commented 20 hours ago

The user hasn't replied for now. I sent them a follow-up.