• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Php mail() doesnt work

JuanCar

Regular Pleskian
Server operating system version
Centos 7
Plesk version and microupdate number
Obsidian 18.0.55
Hello
In my plesk I cannot use php mail() function. Whe I use php mail() function the message is not sent and there is not any message in maillog.
It happens in all my domains, in any php version.
How can it be fixed?
 
Solved, I don't know why but the path to send mail didnit exist. So the solution was easy:
Delete symbolic links (like a reset of links)
#unlink /etc/alternatives/mta
#unlink /usr/sbin/sendmail
Recreate them
#ln -s /etc/alternatives/mta /usr/sbin/sendmail
#ln -s /usr/lib64/plesk-9.0/qmail-sendmail-wrapper /etc/alternatives/mta

So it's solved, but I have no idea why sendmail has been removed, but the technical service of my host has been working about another fail, perhaps this can be the origin.
 
Back
Top