Jump to content

Emails not sending from whmcs


Recommended Posts

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.

 

Screenshot_229.jpg

Link to comment
Share on other sites

  • 2 weeks later...
  • WHMCS Technical Analyst

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated