Απενεργοποίηση μέσω Plesk:
- Go to Subscriptions > example.com > Customize > PHP settings
- Add
disable_functions = mail string to the Additional configuration directives field:
- Click OK button to apply changes
Απενεργοποίηση μέσω SSH/CLI:
- Connect to the server via SSH
- Execute the following command:
123# plesk bin subscription_settings -u example.com -outgoing_messages_enable_sendmail false