RSS Forums RSS
Please support our Shell Scripting advertiser: Programming Forums
Views: 1366 | Replies: 1
Join Date: Jan 2006
Posts: 2
Reputation: deft is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
deft deft is offline Offline
Newbie Poster

Question Parse emails for commands - cron? huh?

  #1  
Apr 29th, 2006
I need to do something I'm told that is relatively easy to do, but I can't find specific instructions on how to do it.

I need a way to look at incoming emails and run commands based on key words in them.

For example, incoming email:

Subject: Thing# 123
Body: delivered

when sent to dostuff@mydomain.com will run the command:

php -q ./app.php 123 setstatus="delivered"

...somebody mentioned something about cron and sendmail, blah blah. but I'm a noob, I need step-by-step help.

I'm using Apache on a remotely hosted account, I have SSH access.
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:01 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC