Edgewall Software

Changes between Version 5 and Version 6 of CookBook/Notification/Email


Ignore:
Timestamp:
Mar 16, 2017, 9:04:24 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Don't add non-existent field.

Legend:

Unmodified
Added
Removed
Modified
  • CookBook/Notification/Email

    v5 v6  
    9494        else:
    9595            for item in fields:
    96                 header(event.target.values[item], prefix, item)
     96                if item in event.target.values:
     97                    header(event.target.values[item], prefix, item)
    9798}}}
    98991. Set the configuration `[notification] smtp_x_trac_ticket_headers` to `ALL` or to a list of ticket field names.