I am modifying the scrip found at 
http://www.gossamer-threads.com/lists/rt/users/70038#70038
posted by gle...@-----  and could use some help


The original, "true if e-mail contains 'ok'"
   && $Transaction->Content =~ /\bok\s/i; 

I need to make it true IF a line (any line - 1st, 2nd, etc) starts with
"RMA" and ends with "has been received"

An example line is:
"RMA-47767-1 has been received "

(This email is coming in from a third party, that I do NOT have much
control over their setup... so there may or may not be a space at the
end of the line, and I can't not control if it is the 1st line or not -
it always appears as the first line of TEXT .. but I am pretty sure
their system is adding a extra blank line or two at the beginning of
the body)


-- 
http://www.wikiak.org

#############################################################
 Associate yourself with men of good quality if you esteem    
 your own reputation; for 'tis better to be alone then in bad 
 company.        - George Washington, Rules of Civility
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to