| 1 |
--- |
| 2 |
features: |
| 3 |
- | |
| 4 |
Added the ``to`` field to task stage email configurations, for setting |
| 5 |
an arbitrary address to send task stage emails to. |
| 6 |
- | |
| 7 |
Added the ``email_current_user`` field to task stage email configurations, |
| 8 |
for sending task stage emails to the user who initiated the task. |
| 9 |
Set ``email_current_user`` to ``true`` to enable this behaviour. |
| 10 |
- | |
| 11 |
Added the ``from_address`` variable to task stage email template |
| 12 |
contexts, allowing the address the email is being sent from internally |
| 13 |
to be templated in task stage email bodies. |
| 14 |
Note that this is not necessarily the same address that is set in the |
| 15 |
``From`` header of the email. For that address, use |
| 16 |
``reply_address`` instead. |
| 17 |
- | |
| 18 |
Added the ``reply_address`` variable to task stage email template |
| 19 |
contexts, allowing the reply-to address sent to the recipient to be |
| 20 |
templated in task stage email bodies. |
| 21 |
- | |
| 22 |
Added the ``email_address`` variable to task stage email template contexts, |
| 23 |
allowing the recipient email address to be templated in task stage email |
| 24 |
bodies. |
| 25 |
- | |
| 26 |
Added the ``email_current_user_address`` variable to task stage email |
| 27 |
template contexts, which exposes the email address of the user that |
| 28 |
initiated the task for use in task stage email templates. |
| 29 |
Note that depending on the task being run this value may not be |
| 30 |
available for use, in which case it will be set to ``None``. |
| 31 |
- | |
| 32 |
Added the ``email_action_addresses`` variable to task stage email |
| 33 |
template contexts, which exposes a dictionary mapping task actions |
| 34 |
to their recipient email addresses for use in task stage email templates. |
| 35 |
Note that depending on the task being run there may not be an email |
| 36 |
address available for certain actions, in which case the dictionary will |
| 37 |
not store a value for those tasks. If no tasks have any recipient email |
| 38 |
addresses, the dictionary will be empty. |
| 39 |
- | |
| 40 |
Multiple emails can now be sent per task stage using the new ``emails`` |
| 41 |
configuration field. To send multiple emails per task stage, define a list |
| 42 |
of emails to be sent as ``emails``, with per-email configuration set in |
| 43 |
the list elements. If a value is not set per-email, the value set in the |
| 44 |
stage configuration will be used, and if that is unset, the default value |
| 45 |
will be used. |