Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ability to force sending from publisher email, not user's email #2038

@jools-r

Description

@jools-r

Is your feature request related to a problem?

When sending out a password reset email for another user from Admin › Users using the advanced email settings, the email is sent out correctly from the defined publisher_email.

When the user responds to the email and resets their password, they should get a confirmation email that their password has been changed. Currently the txpEmail() function sends this from the logged-out user's email address (see txplib_misc.php lines 2391-2394). The smtp service rejects this as an unknown sender, and that email never arrives.

What is the feature?

A "Send system emails only from publisher / envelope sender" admin switch to override this 'feature' so that emails are only sent from the publisher email.

For the moment, I've temporarily patched this by duplicating the publisher_email setting and reintroducing it after the logged-out user's details have been retrieved. Then all mails are sent and received correctly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions