Allow replacing the recipients of the emails by settings a cookie for testing

Created on 5 July 2023, over 1 year ago
Updated 14 August 2023, over 1 year ago

Problem/Motivation

In order to allow testing of the email related features on the website in production mode, allowing to replace the recipient with the provided cookie value would make it easy.

Proposed resolution

In the hook_mail_alter add for a settings check, that if enabled it will replace the email recipient to be a string from the cookie.

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇰🇬Kyrgyzstan elaman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024