Hi to everybody. I want to use the mail function of php in a script. But this script will send a lot of mails to each user stored in my database. Is there a limit of mail to send by script? If no does it work without any consequences to send many mails?
please don't send too many. There is no limit on how many mails can be send, but if you are going to spam users you can get the frihost server on a blacklist.
on linux there is something called cronjobs (short 'cron') and in the crontab (or in directadmin/cpanel) you can make new cronjobs. These 'jobs' can be run every day/hour/week/... on any desired moment. An example job is run a php scrip every day (to, for example, send mail wanting to be send).
The 30 sec is the maximum execution time of a php script. If you have a script that is still running after 30 sec it gets killed.