All,
Have been using sup for a couple months and now that I feel comfortable with it
I want to start customizing it.
I am trying to take certain emails and lump them into a thread so I can keep
track of the history
Here is the code from my before-add-message.rb hook:
if message.subj =~ /^\[ENV (PROD|TEST|DEV)\] Hourly ADDM report for instance
(.*)/
message.add_ref $1 + "ADDM REPORTS - " + $2
message.add_label "report"
message.add_label $1
end
My add_label statements are working great, I just can't get the add_ref to
work. I am not familiar with ruby at all, so I am hoping I am just missing
something simple.
Thanks.
DLord
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk