Answer the question
In order to leave comments, you need to log in
Restrictions on sending emails in php?
Hello.
There is a code for sending an email from php.
<?php
$to = "[email protected]";
$subject = "Robot - Робот";
$message = "Message, сообщение!";
mail ($to, $subject, $message);
?>
Answer the question
In order to leave comments, you need to log in
Cron every minute. For 1 cron run 20 letters. Total 1200 emails per hour. But your letters will end up in spam, you need someone else's smtp, for example, Yandex or Google, and there are daily limits. Then your mail server will have to be thoroughly configured.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question