Disabling PHP mail() function for a domain
Disabling PHP mail() function for a domain
Hi there, i searched but couldn't find answer yet, is it possible to disable PHP mail() function for a specific domain?
Re: Disabling PHP mail() function for a domain
If outgoing spam is what you want to combat, Take a look at this viewtopic.php?f=41&t=12623&p=50183#p50183
Re: Disabling PHP mail() function for a domain
Yes exactly i just tried that solution thank you very much, but would be great to have this option on vesta panel it's mandatory necessary for many people like me.mike08 wrote:If outgoing spam is what you want to combat, Take a look at this viewtopic.php?f=41&t=12623&p=50183#p50183
Re: Disabling PHP mail() function for a domain
This solution didn't helped me, is there any way to disable php mail, for a domain?
Re: Disabling PHP mail() function for a domain
in httpd/apache users config file (directory section)
or you can try this htaccess (don't tested with htaccess)
Code: Select all
php_admin_value sendmail_path "tee mail.out > /dev/null"