hmaddy Posted October 28 Share Posted October 28 Am using an older version of whmcs and it will work only with php74. i hosted my whmcs on a seperate dedicated server and the server have only this account. And am using external smtp for sending mails. i already configured the /etc/exim.conf.local file. but now the problem is its not working. when i select a test mail, whmcs throwing some error like " Validation Error: Could not instantiate mail function. Server is with cloudlinux 9.6 and using altphp74. 0 Quote Link to comment Share on other sites More sharing options...
Administrators WHMCS John Posted October 30 Administrators Share Posted October 30 Hi @hmaddy, Please begin your troubleshooting by referring to this guide: https://docs.whmcs.com/troubleshooting/troubleshoot-email/php-mail/could-not-instantiate-errors/ 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst WHMCS Danny Posted yesterday at 05:43 AM WHMCS Technical Analyst Share Posted yesterday at 05:43 AM Correct, start there, as this error occurs when you have selected PHP Mail as your Mail Provider setting. This would typically indicate that the mail server rejected the system’s attempt to send mail. The PHP Mail function uses the server’s mail() function, which is not always reliable. It also doesn’t generate a friendly error. You would need to work with your server administrator or your hosting provider's support team to review your server configuration and to ensure that the server’s mail() function is working as expected. Otherwise, choose another Mail Provider in the Mail tab at Configuration () > System Settings > General Settings. These other methods are usually more reliable when sending emails and provide further errors, if there is an issue. For further information, please review the following documentation: https://docs.whmcs.com/8-13/system/email/mail-providers/ There is a table in that documentation with instructions for different Mail Providers and how to configure them in WHMCS. I hope this additional information helps! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.