自动邮件发送在PHP的特定日期 [英] Automatic Mail Sending on specific Dates in PHP
问题描述
这取决于您的服务器类型。如果您使用linux,您可以使用cronjobs在特定时间对特定php文件的执行进行编程。
如果你被托管,你的主机可能会在他们的cpanel中提供一个cronjob菜单,否则你必须得到一个更好的托管计划。或至少访问crontab文件,您可以编程不同的Cronjobs。
I am having some mail ids in my database. I have to send mail to those mail ids automatically on some specific dates that i have mentioned in my database.How to do that in php.
It depends on your server type. If you use linux you can use cronjobs to program the execution of a specific php file at a certain time. If you are hosted, your host may offer a cronjob menu in their cpanel, else you would have to get a better hosting plan that offer that. Or at least access to crontab file where you program the different Cronjobs.
Executing a PHP script with a CRON Job
这篇关于自动邮件发送在PHP的特定日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!