• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

PHP not send out mails with localdomains.

lvalics

Silver Pleskian
Plesk Guru
Hi,

I'm in a trouble on a PLESK server, 8.2

I found out that PHP for some reason does not send out mails which is have FROM one of local domains.
So for example I have 3 domains on server; x.com, y.com, z.com

I then setup a file that send out mails and FROM to be [email protected]
Mail is not delivered.

But if I setup my own mail address (which is not handled by the server) then delivery is fine.
I tried on all domains this what is on the server, so is general.

Strange is that if I use SMTP (Thunderbird), mail is delivered.
If I use SMTP via PHP software, mail is not delivered.

Anyone have this problem before?
 
I have 8.2 too and "@mail()" is fine here

Thats if you mean mail()?
 
Back
Top