This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

php mail
#1
php mail
Hello

I have whmcs on my sentora hosting and another website with script for contact. All use the phpmail

So when whmcs send a email.. a error occured : Could not instantiate mail function.

Sorry for my english i'm french

Thanks for your help 
Reply
Thanks given by:
#2
RE: php mail
(04-27-2016, 12:46 AM)mypomme Wrote: Hello

I have whmcs on my sentora hosting and another website with script for contact. All use the phpmail

So when whmcs send a email.. a error occured : Could not instantiate mail function.

Sorry for my english i'm french

Thanks for your help 

Sorry 

Modify the line in /etc/php.ini

sendmail_path = /usr/sbin/sendmail -t -i to sendmail_path = /usr/sbin/sendmail.postfix -t -i
Reply
Thanks given by:
#3
RE: php mail
Pas de problème.

Could you check log files? for error.

Also why changing the php.ini. Mail() function works fine without setting sendmail.

Notice you don't need to change php.ini as:

/usr/sbin/sendmail alias of -> /etc/alternatives/mta
and
/etc/alternatives/mta alias of -> /usr/sbin/sendmail.postfix

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Get TLS/SSL for Sentora Mail EGOSKY123 5 14 ,257 07-25-2020, 04:03 PM
Last Post: 5050
Connecting to mail on other clients (iphone) mohamedh 7 16 ,296 02-04-2019, 09:06 PM
Last Post: mohamedh
mail() don't working BigBang 3 8 ,175 08-13-2018, 08:32 AM
Last Post: wormsunited

Forum Jump:


Users browsing this thread: 3 Guest(s)