Is there a way to configure a server or script to execute a PHP script when an email is received?
In theory, this could be extended to other protocols such as XMPP or SMS, etc.
What I mean, the user can send a message to checking-in@example.org, and this will call a script that will then do everything that needs to be done, or is not related to the message (an automatic message that is sent every time some others even occur as a server having problems ) or associated with the message (for example, it can store an object in a database that other users can view as an RSS feed).
I know that most software services for compiling a list have means for sending commands (for example, unsubscribing), but I'm not sure how complicated the process is and whether it is possible to have something like this on the server - script level.
Will this happen at the IMAP / SMTP level, or can this be done closer to the script or HTTP server?
To give some context, one of the things I'm looking at is a server-based watch for one of my work sites. Users could IM / email / text so that they are in the planned location, and this can cause a script to run, which will update the database, and then send managers a direct message that they will need to register. This will be only one option (the web method already exists), but we want to make it as independent of the platform / protocol as possible. But if we can achieve this, we can consider it for many other everyday needs.
Another way of requesting can be: is there a way to "discover" users from the server-script application, or is there something that needs to be done by constant checking in the appropriate sources to see such changes?