WooCommerce does not send Order Confirmation email to customer anymore - wordpress

I am facing a really strange issue in my WooCommerce shop. For a couple of days the "customer_processing_order" email is not sent to the customer anymore. Even when I trigger manually sending this email inside the order details, nothing happens.
In general email, sending works with SMTP data. When I set the status to "Completed" the email is sent. It is only the order confirmation which is not working.
The email is activated and I also checked error logs. I also installed the Preview Plugin for order emails. When I want to generate the preview, I am getting an error:
CRITICAL Uncaught Error: Call to a member function get_billing_first_name() on null in /usr/www/users/diabroq/diabrothers/wp-content/themes/flatsome-child/woocommerce/emails/customer-completed-order.php:28
I don't know if this is related ... normally it was working.
I also installed WP Email Logs Plugin. No emails are generated, so it is not an email delivery issue. The emails that are working have a successful log entry.
I hope somebody can help me ...

I found the issue. It was related to this plugin: "Email Text Customizer for WooCommerce"
After deactivating it was working again ... oh man!

Related

How to find connection breakdown or misconfiguration

I have a client with a Wordpress website. The contact form stopped sending, so I found a plugin called Mail Integration for Office 365/Outlook that could use his MS365 email to send all email from the website using that account.
I installed the plugin and followed the instructions to create an Azure AD App Registration and configure the plugin with the appropriate data from the App Registration. I tried submitting the contact form and there were no errors on the page (it gave me a success message), but the email never arrived in my inbox (yes, I checked spam). I installed a different form plugin, WP Forms, and put it on a test page. The call to admin-ajax appears to be going through successfully, receiving json with success and a confirmation message (which it outputs to the page).
So I searched the plugin's support forum where the creator mentioned using the plugin Check & Log Email to test that the emails are sending. I installed/activated the plugin and sent a test email. It shows it as sent successfully. It never arrived in my inbox (yes, I checked spam).
I have checked the error logs and didn't see anything helpful.
To fix the issue, I first need to find it:
Do I need to complete additional configuration that I've just missed?
How do I find out if the plugin can even connect to the App Registration? It doesn't have a Test Connection feature, which it clearly needs. The reviews on the plugin page are all positive and recent, so it's working for other people.
How do I troubleshoot this from the Azure Active Directory side to make sure it's receiving data?
Please help! Thanks.

Could not instantiate mail function in WooCommerce

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 ".
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

Registering as a new user not getting verification email in wordpress

I am using "RealHomes Theme" for my project but the problem is while registering as a new user it is successfully adding but unable to get an email verification for the user.
Try disabling all of your plugins and using the default theme.
If you're able to register and get the email, turn on all plugins and try again.
If you still get it, it's an issue with the theme and you should take it up with the developer.
If not, disable all plugins and change back to your RealHomes theme.
If you get it from there, it's a plugin conflict and you'll have to diagnose that and remove/fix the plugin causing the issue.
However, if you can't get it at all, even with the theme/plugins disabled; it's probably because all-to-often WordPress emails get sent into spam or the void, and it's then an email issue which is harder to diagnose (is it your server, potential blacklisting [use MXToolbox to confirm], email provider issue?).
We had this issue a lot, and to mitigate we started to use wpMandrill and enabled DKIM and SPF on all domains we send from which increased out WP email delivery rate to almost 100%.
Make sure you have DKIM and SPF records for your domain, and are sending from an account that exists on the same domain such as:
https://example.com/ should be sending emails from something like WordPress#example.com

WordPress Form E-Mail delivering

I 'm trying to fix a problem here in a wordpress eviremont which I'm also new to. I want to get a form running but it isn't sending emails. Currently I'm using Caldera Forms with the WordPress email system. What I want to do is that everytime somebody applies a form, I want to get a email with the content of the form and the user who applied to the form should get a normal autoresponder email. I think this should work without any email plugin or something else, but I'm not sure. I'm trying to fix a probleme here on a wordpress site which crashed after too many people visited this page. Now, the email system espacially the send and receive a email if somebody applied on a form, is not working anymore.. As mentinoed, I don't think that you need a email plugin to do that. I'm right?
Further, the emails get hostet by CrazyDomains. If I use the webmailer, I can receive and send emails from the emails on CrazyDomains.
Where could be the problem?
A plugin called Postman SMTP generates a log which also logs the form emails. This log says:
"250 OK" (I shorted the log). So, it means, the email should be send. For no reason, as already written, I do not receive and get emails with the form...
This plugin is connected with GMAIL API. I don't know why and for what that is...
I already deactivated all email plugins and tried different form plugins like Gravity Form or Contact Form. But same result...
How can I figure out whats the problem and how can I solve it?
I would be very happy about help.
Greetings and Thank You!
Here you can find a Quick config smtp https://www.crazydomains.com.au/help/getting-started-guide-email-hosting/#SDj5xkUTdbsVJ4mL.97.
Maybe email went in the spam section, or you had not configured good the smtp.
You can try to install https://it.wordpress.org/plugins/wp-mail-smtp/ and configure email sent from wordpress as say the crazydomains guide, so with the port 587 etc.

woocomerce - admin is not received any email when order is placed

I have set all parameters in woocomerce -> settings-> email-> new order , processing etc but email is not sended to admin or email id which i have provided in these option. Yes, email is sending to customer which has purchase items of site. Means email is working for customer but not for admin.. I have tried to change status of order but still mail is sended to customer but not admin. Can you help me to get out of this.
Thanks
Try deactivating all other plugins besides WooCommerce to see if that helps. WooCommerce uses the wp_mail provided by WordPress. As long as other emails are sent, this one should be sent.
A few things to look for:
Make sure New Order emails are enabled in WooCommerce > Settings > Emails > New Order.
Be sure the order is not placed on Pending Order. Keep in mind those emails are not sent to you since the order hasn't been completed yet thus no email.
A spam blocker might be the cause of the issue. The best way to avoid this try a dedicated SMTP provider like Mandrill which resolves most issues with emails not sending from the host. Mandrill has a free plugin.
Hope that helps!
Is it the WordPress admin email? I've just had this problem on version 4.1; i was not able to use the wordpress admin email as recipient of emails from new orders; but any other email i set for recipient when new orders worked just fine; all except the wordPress admin email. Weird hu? I guess i'll have to deal with that later.

Resources