From: Philippe LeCavalier <supp...@plecavalier.com> To: sup-talk <sup-t...@rubyforge.ord> Cc: Bcc: Subject: hook with external file ref
addressfile = File.open("/home/user/path/addressfile","r") if ! addressfile.grep(/#{message.from.email}/).empty? message.add_label :somelabel end In the wiki it states "which contains one e-mail address per line". I'm just wondering what I would have to change in the code in order to list just the domain. -- Thanks, Phil _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk