• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP Mail Function not work

Php mail function not work, and i cant fix it.

the php.ini is right (i think)

when i test the function at a sendmail site:

output:

Warning: mail() [function.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

and sorry for my bad english

please help me
 
Your mail server settings has settings for authentications you are needed to remove authentication from mail server. Or add authentications in your scripts.
 
Back
Top