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.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3162325-6-set-from-email.patch | 3.91 KB | ankitjhakal |
| #3 | 3162325-3-set-from-email.patch | 3.86 KB | digdanlow |
Issue fork content_moderation_notifications-3162325
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:
- 3162325-option-to-set
compare
Comments
Comment #2
rdeboerComment #3
digdanlow commentedHello! 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.
Comment #4
rdeboerWow @digdanlow, that was quick.
Awesome.
Thank you so much. Will try it out.
Comment #5
rdeboerI 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.
Comment #6
ankitjhakal commentedHello! The added patch here is not working with the latest version so I have re-rolled this patch. Please review and test it.
Comment #7
ankitjhakal commentedComment #10
dahousecat commentedPatch #6 applies and lets me set the from address 👍
Comment #11
bkosborneLet's handle this in #3273627: Provide full to/cc/bcc email configuration