简体   繁体   English

如何使用 PHP 和 mysql 使用任务计划程序自动发送电子邮件?

[英]How to send email automatically using task scheduler using PHP and mysql?

I want to send a reminder email to perticular email id.Reminder date and time are stored in mysql database.When reminder date and time = current date and time, that time i need to send a email that says You have new reminder with tha remarks(remarks is the database column).How to do this plz help me.我想向特定的电子邮件 ID 发送提醒电子邮件。提醒日期和时间存储在 mysql 数据库中。当提醒日期和时间 = 当前日期和时间时,那个时候我需要发送一封电子邮件,上面写着你有新的提醒和备注(备注是数据库列)。如何做到这一点请帮助我。

I am using windows8 need to use Task scheduler.我使用的是windows8需要使用Task scheduler。 by giving the script/program通过提供脚本/程序

You can use cron job to send automatic mail function.您可以使用 cron 作业来发送自动邮件功能。

also refer https://code.tutsplus.com/tutorials/managing-cron-jobs-with-php--net-19428另请参阅https://code.tutsplus.com/tutorials/managing-cron-jobs-with-php--net-19428

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM