File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ cython_debug/
173173# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
174174# and can be added to the global gitignore or merged into this file. For a more nuclear
175175# option (not recommended) you can uncomment the following to ignore the entire idea folder.
176- # .idea/
176+ .idea /
177177
178178# Abstra
179179# Abstra is an AI-powered process automation framework.
@@ -182,9 +182,9 @@ cython_debug/
182182.abstra /
183183
184184# Visual Studio Code
185- # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
185+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
186186# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
187- # and can be added to the global gitignore or merged into this file. However, if you prefer,
187+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
188188# you could uncomment the following to ignore the entire vscode folder
189189# .vscode/
190190
Original file line number Diff line number Diff line change 1717.. code-block :: bash
1818
1919 tutor plugins enable notifications
20+ Configuration
21+ *************
22+
23+ The plugin exposes the following Tutor configuration keys :
24+ - ``NOTIFICATIONS_DEFAULT_FROM_EMAIL ``
25+ - Default: inherits from the platform `CONTACT_EMAIL `.
26+ - Purpose: sets the default "from" address used when sending notification emails.
27+
28+ .. code-block :: yaml
29+
30+ NOTIFICATIONS_DEFAULT_FROM_EMAIL : " no-reply@example.org"
31+
32+ After changing configuration,restart environment so the new environment variable and settings are picked up by the LMS and MFE images.
33+ If you rely on a specific "from" email for outgoing notifications, explicitly set ``NOTIFICATIONS_DEFAULT_FROM_EMAIL `` rather than relying on the platform-wide ``CONTACT_EMAIL ``.
2034
2135
2236The email and push notification settings under Account can be enabled/disabled using `NOTIFICATIONS_ENABLE_SHOW_EMAIL_CHANNEL `
Original file line number Diff line number Diff line change 1+ NOTIFICATIONS_DEFAULT_FROM_EMAIL: '{{ NOTIFICATIONS_DEFAULT_FROM_EMAIL }}'
Original file line number Diff line number Diff line change 1+ NOTIFICATIONS_DEFAULT_FROM_EMAIL = ENV_TOKENS.get("NOTIFICATIONS_DEFAULT_FROM_EMAIL", ENV_TOKENS["CONTACT_EMAIL"])
Original file line number Diff line number Diff line change 1919 ("NOTIFICATIONS_VERSION" , __version__ ),
2020 ("NOTIFICATIONS_ENABLE_SHOW_EMAIL_CHANNEL" , True ),
2121 ("NOTIFICATIONS_ENABLE_SHOW_PUSH_CHANNEL" , False ),
22+ ("NOTIFICATIONS_DEFAULT_FROM_EMAIL" , "{{ CONTACT_EMAIL }}" )
2223 ]
2324)
2425
You can’t perform that action at this time.
0 commit comments