> I think this is not that difficult to do. Assuming you have an > email account (eg [EMAIL PROTECTED]) where all inquiries can be made, all you > need to do is run a cron job (say every min) that reads the > /var/mail/sales file. You can use "From" to delimit each email. If an > email is new, it has no "Status:" string after the header. If it is new > use perl to extract the subject line (tracking number) and use that > tracking number to query the database of its status. Email back the status > using the primitive /bin/mail. Your client will get a reply in a couple of > minutes.
> > Alternatively, why not use a web-based script to query the status > of a certain tracking number? > we already have web-based tracking system.... _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
