From: Philippe LeCavalier <[email protected]>
To: sup-talk <[email protected]>
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
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk