Send e-mail with PHP, without human intervention

Asked

Viewed 44 times

0

I have a doubt of PHP, but I do not even know the terms that I should research. There goes.

I’m starting in PHP now, and I’ve come up with a problem I can’t solve. I need to send an email when something specific happens. For example: A teacher did not open a class until the X-hour, so the system sends an email to the administration informing them.

Could you help me?

  • 1

    By searching in Sopt itself you can already send email by PHP http://answall.com/search?q=email+php+is%3Aquestion and you can also make a script running from time to time if you need to.

  • But I would not like to perform from time to time, I would like to perform when a condition is met.

  • 2

    To know if at time X the article was opened or not, you will need a task always checking if you arrived at the desired time, otherwise there is no way. It’s like this case, which solves 100% of what you need: http://answall.com/a/32901/70 PHP will run all the time, but it won’t email you all the time. Only when a certain event or condition occurs. This is where you will avoid human intervention. PHP itself will be "watching".

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.