Reputation: 164
I'm trying to send an email notification to user after checkout is done and order placed. I've gone through the WooCommerce email settings and set them all accordingly. But for a reason that I don't know of email couldn't be sent. I understand this is not a code related question.
...And this is the warning I get in the log plugin to check whether emails have been sent: " Could not instantiate mail function ".
Upvotes: 4
Views: 11312
Reputation: 5934
This happens due to your site haven't been configured with email service provider like Google/SendGrid or SMTP. In my case, I used SMTP with the help of WP Mail SMTP plugin, and it works for me. Example configuration can be found below:
Hope it helps
Upvotes: 7