Jump to content

Could not instantiate mail function


nihkiruks

Recommended Posts

From time to time we're getting this error in Activity log:

 

Admin Email Notification Sending Failed - Could not instantiate mail function. (Subject: WHMCS New Order Notification) 

 

and all the time:

 

Admin Email Notification Sending Failed - Could not instantiate mail function. (Subject: WHMCS Cron Job Activity) 

 

Sometimes e-mails are sent OK. Any ideas why?

Link to comment
Share on other sites

  • 1 month later...

We have also started seeing this.

 

We are using php mail, and would also like to see if there is anyway to get a more detailed error log from this....

 

Also, we are experiencing it when try to send emails to clients when using the send mail function from the clients overview page.

 

The really odd thing is that on some occasions the emails come through fine, wheras other times no emails come through. This applies both to the admin email address, and to customers.

 

or better yet hear how to stop it if someone has sussed it already:)

Edited by ChrisGooding
Link to comment
Share on other sites

  • 6 months later...
  • 4 weeks later...

i just had this issue the other day and just got it fixed a few minutes ago.

i dont really know what it was myself but might help some resellers.

 

what ever the problem was it needed root access. i sent a ticket to my hosting company and with in a few minutes they messages back saying it should be working now and it fine.

 

so all i can say about this is you must need root acces coz i tryed everything i could including SMPT emails.

 

could of been somthing like a simple reboot???

Link to comment
Share on other sites

  • 2 years later...

There are many possible causes but the most likely causes are a php configuration error or missing mail modules. I would switch to SMTP mail anyway, PHP mail gets marked as spam much more frequently than smtp mail.

 

Also make sure your mail server is marked as an authoritive mail server for the domain, You can do this by editing your dns zone and adding spf records for your mail server IP's (once you get your mail working). While it doesn't guarantee that your mail wont get marked as spam, it does help to authenticate mail that came from your system and not some other spoof system.

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