Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
E-Mail
»
PHP Mail() Send Path
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP Mail() Send Path (Read 719 times)
0 Members and 1 Guest are viewing this topic.
ltarrant
Newbie
Posts: 12
PHP Mail() Send Path
«
on:
May 14, 2024, 10:50:17 AM »
Hi,
I am trying to set PHP.INI file to support mail().
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;
http://php.net/sendmail-path
sendmail_path =
??
However, all the the sendmail_path I have tried don't resolve the issue.
Is any one able to confirm the correct sendmail_path for CWP7 setup?
Luke
Logged
overseer
Hero Member
Posts: 1106
Re: PHP Mail() Send Path
«
Reply #1 on:
May 14, 2024, 02:53:57 PM »
Consider moving to SMTP authenticated mail sending. PHP's mail function is considered a security hole and often disabled on shared hosting servers.
Logged
ltarrant
Newbie
Posts: 12
Re: PHP Mail() Send Path
«
Reply #2 on:
May 14, 2024, 03:06:59 PM »
This is a development server with limited access. I appreciate the security implications and for a production or shared environment we would stick with authenticated SMTP but I would still like to figure out how to enable this.
Logged
Starburst
Hero Member
Posts: 1172
Re: PHP Mail() Send Path
«
Reply #3 on:
May 14, 2024, 08:19:52 PM »
What OS & version are you running?
If AlmaLinux 8, install s-nail, which takes over sendmail, mail, mailx.
And can be run from any location.
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
E-Mail
»
PHP Mail() Send Path