• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved php mail fails for regular users, works for root

tkalfaoglu

Silver Pleskian
A test.php file stored at the customer's httpdocs folder produces nothing if the owner of that file is
username : psacln ... If the owner is root:root then the mail is delivered. The file is very simple:

<?php
mail('[email protected]','hello','test mail function');
?>


Sendmail is enabled both on server level and subscription level for that customer.
What else shall I check?
many thanks -t
 
UPDATE: I disabled the use of sendmail server-wide.. then re-enabled it..
Now my test.php works - it sends mail as regular user!
 
Back
Top