How to restrict outgoing mail from the server?
Because you can prescribe some settings in PHP to restrict sending emails from a server, passing only those letters in which the sender stated need me email ololo@moiserv.ru ?
1 answer
Hi,
PHP sends mail using SMTP server on your hosting. Therefore, to configure such restrictions should be there, not in PHP. But you need to know what you have SMTP on the server (databases, postfix, ...).
Find more questions by tags Hosting
Anyone in the web hosting control panel, who's in the logs who just looks in the console. Rather, who in the console server steers, he already knows what he is worth. - nicklaus.OKeefe commented on June 10th 19 at 16:30
is it possible to allow sending only emails that have the sender info@aknapesu.ee ? - christina commented on June 10th 19 at 16:33