• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question how to activate the php mail() function, it doesn't work for me

gianoaa

New Pleskian
How can I make it work, I have my query with php mail() to send emails, password recovery, but here it does not send me anything. What steps do I need to follow to make it work?
 
Can you find out more on the reason by checking /var/log/maillog (/var/log/mail.log on some systems)?
 
Can you find out more on the reason by checking /var/log/maillog (/var/log/mail.log on some systems)?
[07-Mar-2023 07:49:01 UTC] PHP Warning: mail(): SMTP server response: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server. in D:\Inetpub\vhosts\minfighterclassic.com\httpdocs\clases\recover-password.php on line 19
 
The method does not work, unfortunately there is no solution for this problem, I can only send messages to the accounts that I have created in the panel, but I cannot send to other people.
 
So adding the loop back addresses to the server-wide mail settings white list didn't resolve that issue? It should had because of how things are done. Do you know if you're able to send emails in general from your server? What is your mail enable configuration looks like?
 
Back
Top