如何通过php或jquery示例在特定日期自动发送邮件警报?
我正在尝试开发门户,因为我必须向客户发送后续消息。我必须在那个日期发送警报邮件,这些邮件已经存储在数据库中。 当日期出来时,邮件将在该特定日期自动发送如何通过php或jquery示例在特定日期自动发送邮件警报?,php,jquery,Php,Jquery,我正在尝试开发门户,因为我必须向客户发送后续消息。我必须在那个日期发送警报邮件,这些邮件已经存储在数据库中。 当日期出来时,邮件将在该特定日期自动发送 <div class="col-xs-6"> <div class="box"> <table id="example2" class="table table-bordered table-hover">
<div class="col-xs-6">
<div class="box">
<table id="example2" class="table table-bordered table-hover">
<thead>
<tr>
<th>date</th>
<th>Reason</th>
</tr>
</thead>
<tbody>
<?php
$reasons = new reasons();
$cont = "cust_id = '" . $_GET['id'] . "' ";
$mfetch = $reasons->select($reasons->table, '', $cont);
//print_r($cont);exit();
foreach ($mfetch as $row) {
?>
<tr>
<th><?php echo $row['date'] ?></th>
<th><?php echo $row['reason'] ?></th>
</tr>
<?php
}
?>
</tbody>
</table>
</div><!-- /.box -->
</div><!-- /.col -->
日期
理由
您可以使用Cron作业(计划任务)
创建cron作业的教程->您可以使用cron作业(计划任务)
创建cron作业的教程->