• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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