• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Can't send email via php mail() on alma9.x

WSNHosting

Basic Pleskian
Server operating system version
Alma 9.x
Plesk version and microupdate number
18.0.71
Hello all

i install new plesk on alma 9.x last version

i found can't send email by php script on function mail();

in php.ini

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; PHP: Runtime Configuration - Manual
;sendmail_path =



but i add php option on domain

sendmail_path = /usr/sbin/sendmail -t -i

can send email

but i no need add

sendmail_path = /usr/sbin/sendmail -t -i

all domain in php option on domain site

What's causing this?
Is there a solution?
 
Generally you don't need to explicitly add /usr/sbin/sendmail -t -i to the sendmail_path configuration because it's the default already. See PHP documentation.

Maybe there is something in your PHP configuration that removes or overwrites the default sendmail_path value?
 
Back
Top