• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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