Re: mailing question

From: Georg Horn (horn@koblenz-net.de)
Date: Wed Oct 06 1999 - 00:10:59 EST


HI,

You wrote:
> hello list,
> here is my problem, my boss receives stuff via mail that he wants to be in
> a database and on the web. obviusly he forwardss it to me so I can cut an
> paste to the web interfase I made to update the database.

Hey, was it that what computers are for? ;-) But it's nice that he forwards
the mail to you and doesn't print them out and make you type the whole thing
again... ;-)

> is there a way to catch this email and automate the proccess??
> like setting an spacial mail box that some how delivers to msql and the a
> lite program thet stips the conten and put it in the data base?
> or am I asking to much? am I doomed to cut and paste every day?

Make your boss do this work! If he receives the mail, he can easily
insert the data into the webinterface, and this way can be sure, that it really
is inserted correctly! ;-)))

Ok, seriously: Make an alias in /etc/aliases like this:

bla: "|/usr/local/bin/safemail"

this will pipe the whole mail to the programm /usr/local/bin/safemail
that can parse the email, insert the extracted information into the db,
and also send a copy or notification to you or your boss.

Bye,
Georg

-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/



This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:03:51 EST