Custom email subject and message

Created on 7 March 2022, almost 3 years ago
Updated 8 December 2024, 14 days ago

Thank you for this module. It would be nice if there was a form to add a custom email subject and message.

I can switch to - Use legacy email subject. Then can I hardcode my own message inside this file:
/logging_alerts/emaillog/templates/emaillog.html.twig
Site: {{ base_url }}
And change this to:
Site: {{ base_url }} My custom message here...

I am using 2.0.0. What changes are in 2.0 dev?

โœจ Feature request
Status

Needs work

Version

2.1

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States leisurman

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ธ๐Ÿ‡ฐSlovakia poker10

    Thanks for working on this.

    According to the patch #3, it seems like that the legacy subject will be preserved, but the current one ([@site_name] @severity_desc: @dblog_message) will be replaced by the value of the field. My questions are - could we have the default value for the new field the same as the current format, so that the sites which will update the module do not have to do any actions to keep everything the same as before?

    Also can you convert the patch to the MR, so that it is easier to work with?

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan

    prem suthar โ†’ made their first commit to this issueโ€™s fork.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan

    @poker10 Please review The MR . i have added the default value for the new field.

    added the MR Form the Patch and update code as per #8 suggestion.

Production build 0.71.5 2024