• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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