enable php mail function cpanel

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..

Moderator: Staff

Post Reply
Ashlin
Posts: 0
Joined: Fri Sep 16, 2016 10:10 am

enable php mail function cpanel

Post by Ashlin »

Hi,

How do I enable or disable Mail function for cPanel account.


stark
Posts: 0
Joined: Fri Sep 16, 2016 10:00 am

Re: enable php mail function cpanel

Post by stark »

cPanel --> PHP Version --> Switch To PHP Options (Top Right) --> Remove value from disable function -->
Click value/select/enter to save


Ashlin
Posts: 0
Joined: Fri Sep 16, 2016 10:10 am

Re: enable php mail function cpanel

Post by Ashlin »

Hi Stark,

I tired it but not working

Is it possible to do it via .htaccess file ? I tried the same but it is't working.

here is the code in .htaccess

disable_functions = mail


Brandon N
Posts: 0
Joined: Thu Apr 05, 2018 11:19 pm

Re: enable php mail function cpanel

Post by Brandon N »

Hi Ashlin,

You need to remove mail entry from disable_functions.

disable_functions = mail ✖

disable_functions = ✔

Brandon N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree


Ashlin
Posts: 0
Joined: Fri Sep 16, 2016 10:10 am

Re: enable php mail function cpanel

Post by Ashlin »

That's Works!
Many thanks


If you are looking for assistance in server management, please get in touch with our support.
Post Reply