I want to run a web application in php and mysql using the CakePHP framework. And in order to keep the threshold for using the site in a very low place, I do not want to use a standard login with username / password. (And I don't want my users to be with something like OpenID. Goes to user type.)
So, I think that users will be able to log in by sending an email to login@domain.com without any subject or content. And they will receive in response an email with a link in which their logs will be recorded (it will contain a hash). I will also allow users to do some things without even visiting the site at all, just send an email using the command@domain.com, and the command will be executed. I assume that users and their email providers will take care of their email account security, and as such, my site is not needed.
Now, how do I go from sending an email message with an account that is not read by people to be run from some script there (basically the "dummy client browser" calls the URL (and CakePHP takes care of the rest)?
I have never used cron work before, but I really think I understand their purpose or how they usually work. I cannot call the script of random people visiting the site, as this solution will not work for several reasons. I think I would like to hear more about the possibility of running a script as a response to an incoming message if someone has any data. If it starts as a cron job, it will only check every X minutes, and users will receive a delay in the response (if I understand correctly).
, login @domain.com, , , , .
, , , , , , . , . , , / . , .