<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>techniQal support - Latest Comments in How to Run a Script from Email</title><link>http://damniel.disqus.com/</link><description>the Q stands for quality</description><atom:link href="https://damniel.disqus.com/how_to_run_a_script_from_email/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 12 Aug 2008 18:33:13 -0000</lastBuildDate><item><title>Re: How to Run a Script from Email</title><link>http://www.techniqal.com/blog/2005/11/14/how-to-run-a-script-from-email/#comment-1210458</link><description>&lt;p&gt;Sorry -just caught this Kyle. Depending on where the mail lives, you could always schedule a cron job to script to go fetch mail, and based on content of the mail, run a command.  The script would just use existing *nix tools for text matching/processing(grep,sed/awk).&lt;/p&gt;&lt;p&gt;The benefit to the method I describe here, is that you don't have to worry about the mail handling piece in you script. The script takes the mail content as stdin, and works with it as it comes in.&lt;/p&gt;&lt;p&gt;If you are comfortable with perl, python, or php, all 3 have fairly mature email libraries that would allow you to fetch and parse the emails from some other server source (IMAP, POP3, etc.) .&lt;/p&gt;&lt;p&gt;Hope that helps.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel</dc:creator><pubDate>Tue, 12 Aug 2008 18:33:13 -0000</pubDate></item><item><title>Re: How to Run a Script from Email</title><link>http://www.techniqal.com/blog/2005/11/14/how-to-run-a-script-from-email/#comment-1210457</link><description>&lt;p&gt;Can you think of a way to have a bash script check email and then do something if it sees keywords in the email?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kyle</dc:creator><pubDate>Tue, 05 Aug 2008 17:06:07 -0000</pubDate></item></channel></rss>