Hello and thank you for this module.
It is easy to use and works well.

I have just encountered a use-case where we want the "From" email to be different from the default/site email.
However the "From" email-address is currently not configurable.

It would be nice if this could be added to this module.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    1 hidden branch
  • 3162325-option-to-set Comparecompare

Comments

RdeBoer created an issue. See original summary.

rdeboer’s picture

Issue summary: View changes
digdanlow’s picture

StatusFileSize
new3.86 KB

Hello! Please try the attached patch. As the schema was changed, it will have to be updated. This can be done using the devel_entity_updates module. If that doesn't work for you, a hook update should be implemented to programmatically update it.

rdeboer’s picture

Wow @digdanlow, that was quick.
Awesome.
Thank you so much. Will try it out.

rdeboer’s picture

I believe this works.
On my system I use an external SMTP server which seems to override the "from" email -- but that's not the fault of this patch.
Thanks for the quick work!

PS:
The devel_entity_updates module... After installing the module and running

drush cr
drush entup

reported:

No entity schema updates required

So instead, as we're still in development for this project, I disabled and re-aneabled the content_moderation_notifications module for the same effect.

ankitjhakal’s picture

Assigned: Unassigned » ankitjhakal
Status: Active » Needs work
StatusFileSize
new3.91 KB

Hello! The added patch here is not working with the latest version so I have re-rolled this patch. Please review and test it.

ankitjhakal’s picture

Assigned: ankitjhakal » Unassigned
Status: Needs work » Needs review

brandonlira made their first commit to this issue’s fork.

brandonlira changed the visibility of the branch 3162325-option-to-set to hidden.

dahousecat’s picture

Patch #6 applies and lets me set the from address 👍

bkosborne’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#3273627: Provide full to/cc/bcc email configuration

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.