On Thu, Oct 24, 2002 at 10:03:01PM -0700, Sundaram Balasubramaninan <email@example.com> wrote:
> Do anyone had thougt/done searching with swish-e as an email service as
> the google does?
> What is required is a component / interfaces which can receive email
> (with query words in the subject line) and process it automatically with
> swish-e and return back the results to the sender?
Elementary, Watson: Use Perl ;)
Set up a mail alias (procmail, /etc/aliases, .forward or the like) to
forward the mail to a perl script, which uses MIME::Parser.pm to parse the
Mail, SWISHE.pm to perform the search, and MIME::Lite.pm to send back
the results. Should be pretty straightforward.
Received on Fri Oct 25 10:26:42 2002