X-Priority: Difference between revisions
Jump to navigation
Jump to search
m (2 revisions imported) |
(No difference)
|
Latest revision as of 15:39, 6 April 2016
X-Priority
Below is example code you might include in your Correspondence, Comment and Transaction tickets to help your users ascertain which messages to read. It assumes you use to the full range of priorities (0--100), and messages without priorities (negative values) default to '3' (Normal).
X-Priority: {my $p=$Ticket->Priority; $p=50 if $p<0; 6-(int(($p/20)+.5)||1)}