Skip to content

[Issue] Fix the newsletter confirmation email From #34963

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #34635: Fix the newsletter confirmation email From


Fix the newsletter confirmation email From on multi-store env

Description (*)

Bug: the newsletter subscription confirmation email has the wrong email in From field
if the customer is assigned to a non-default store and subscribed/unsubscribed via admin panel

Related Pull Requests

Fixed Issues (if relevant)

I didn't find the existing issue

Manual testing scenarios (*)

  1. In admin panel of multi-store Magento, open some customer that assigned to non-default store
  2. Go to "Newsletter" tab
  3. Select (or unelect if it's selected already) the "Subscribed to Newsletter" checkbox and save the customer

Expected:
The customer receives an email with a store-specific email in From header

Actual:
The customer receives an email with default email in From header

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ContentComponent: NewsletterIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions