Woocommerce auto email notifications not sending
-
Hi.
Been having an issue with Woocommerce email notifications not sending automatically for my course. Typically it will send an email thanking them for their order, then processing, and payment complete.All the check boxes are on in the settings section of the plugin including “email
from” but the only emails that are being received when I test, are from paypal credit card stating the payment was made.I am running latest wordpress with learndash + Astra theme.
The page I need help with: [log in to see the link]
-
Hello,
Could you first go to WooCommerce > Settings > Emails, and check if emails are enabled?
If enabled, you’ll next want to see if the emails are being correctly generated. You can do this by installing a plugin like WP Mail Logging and place a test order – this plugin then will show what emails have been sent.
We have a detailed guide on troubleshooting WooCommerce email issues here: https://docs.woocommerce.com/document/email-faq/
Yeah. It is checked. The funny thing is that it worked before and now it just stopped. Is there another way instead of installing another plugin?
Hi @driven72,
If it was working before then it could be that updating your theme or one or more of your other plugins caused a conflict with WooCommerce.
Thus, you’ll want to check if it’s working with all plugins disabled (except WooCommerce) and the default Storefront theme. Read more about conflicts here.
If there were no updates on your site, I would recommend reaching out to your email hosting provider that has tools to check why the
wp_mail()
function suddenly stopped working.Cheers.
Thanks. No theme changes. Same theme the whole time. I made some plugin updates such as paypal but I had to since the previous plugin was no longer supported.
Hello,
I’ve read that there is an issue with WooCommerce email notifications. In this case, to get a better understanding of your site configuration, please provide the following:
* A copy of your site’s System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
* Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
Thank you.
This is all I found at the top of the log. No idea what it means.
2022-02-11T00:28:36+00:00 ERROR Spec is invalid because the locale could not be retrieved in feed
2022-02-11T00:28:36+00:00 ERROR stdClass ObjectAnd here is the copy of the system status:
### WordPress Environment ### WordPress address (URL): https://www.academy.driventodraw.com Site address (URL): https://www.academy.driventodraw.com WC Version: 6.2.2 REST API Version: ? 6.2.2 WC Blocks Version: ? 6.7.3 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.1.0 Log Directory Writable: ? WP Version: 5.9.1 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.28 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1l-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.2.2 WC Database Prefix: xrji_ Total Database Size: 45.88MB Database Data Size: 41.59MB Database Index Size: 4.29MB xrji_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB xrji_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM xrji_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB xrji_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_achievements: Data: 0.02MB + Index: 0.01MB + Engine MyISAM xrji_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + Engine InnoDB xrji_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB xrji_aioseo_cache: Data: 0.23MB + Index: 0.03MB + Engine InnoDB xrji_aioseo_notifications: Data: 0.03MB + Index: 0.06MB + Engine InnoDB xrji_aioseo_posts: Data: 1.52MB + Index: 0.05MB + Engine InnoDB xrji_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM xrji_csp3_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB xrji_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB xrji_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_fsmpt_email_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_gde_profiles: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_gde_secure: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_groups_rs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_jigoshop_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_jigoshop_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_jigoshop_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_ld_notifications_delayed_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_learndash_user_activity: Data: 0.05MB + Index: 0.13MB + Engine InnoDB xrji_learndash_user_activity_meta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB xrji_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_options: Data: 5.41MB + Index: 0.11MB + Engine MyISAM xrji_p2p: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_p2pmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_postmeta: Data: 21.82MB + Index: 1.30MB + Engine MyISAM xrji_posts: Data: 7.20MB + Index: 0.36MB + Engine MyISAM xrji_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB xrji_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_revslider_sliders: Data: 0.03MB + Index: 0.00MB + Engine InnoDB xrji_revslider_slides: Data: 0.44MB + Index: 0.00MB + Engine InnoDB xrji_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_role_scope_rs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_terms: Data: 0.02MB + Index: 0.03MB + Engine MyISAM xrji_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM xrji_term_taxonomy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM xrji_user2group_rs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_user2role2object_rs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_usermeta: Data: 0.07MB + Index: 0.06MB + Engine MyISAM xrji_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB xrji_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB xrji_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB xrji_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB xrji_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_woocommerce_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wpforo_accesses: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_wpforo_forums: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_wpforo_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_wpforo_likes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wpforo_phrases: Data: 0.02MB + Index: 0.05MB + Engine MyISAM xrji_wpforo_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wpforo_profiles: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_wpforo_subscribes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wpforo_topics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wpforo_usergroups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM xrji_wpforo_views: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wpforo_votes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wp_pro_quiz_category: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wp_pro_quiz_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wp_pro_quiz_lock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wp_pro_quiz_master: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wp_pro_quiz_prerequisite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wp_pro_quiz_question: Data: 0.06MB + Index: 0.03MB + Engine InnoDB xrji_wp_pro_quiz_statistic: Data: 2.52MB + Index: 0.00MB + Engine InnoDB xrji_wp_pro_quiz_statistic_ref: Data: 0.34MB + Index: 0.37MB + Engine MyISAM xrji_wp_pro_quiz_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM xrji_wp_pro_quiz_toplist: Data: 0.09MB + Index: 0.00MB + Engine InnoDB xrji_wysija_campaign: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_campaign_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_custom_field: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_email: Data: 0.05MB + Index: 0.00MB + Engine InnoDB xrji_wysija_email_user_stat: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_email_user_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_wysija_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_wysija_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_url_mail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_user: Data: 0.05MB + Index: 0.02MB + Engine InnoDB xrji_wysija_user_field: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_user_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_wysija_user_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB xrji_yoast_indexable: Data: 0.02MB + Index: 0.08MB + Engine InnoDB xrji_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB xrji_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB xrji_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB xrji_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### achievement-type: 1 attachment: 393 badgeos-log-entry: 119 badges: 1 btp_flexslider: 1 cartflows_flow: 2 cartflows_step: 4 custom_css: 2 elementor_library: 4 forum: 6 gb_xapi_content: 1 leadpages_post: 1 nav_menu_item: 20 page: 42 portfolio_project: 13 portfolio_showcase: 10 post: 1 product: 12 reply: 1 revision: 2535 seedprod: 1 sfwd-certificates: 3 sfwd-courses: 25 sfwd-lessons: 172 sfwd-quiz: 20 sfwd-topic: 223 sfwd-transactions: 223 shop_coupon: 3 shop_order: 13 shop_order_refund: 2 step: 1 team_member: 4 testimonial: 4 topic: 4 wp_block: 1 wp_global_styles: 1 wpachievements: 5 wpcf7_contact_form: 5 wpforms: 1 wysijap: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (14) ### All in One SEO: by All in One SEO Team – 4.1.5.3 Classic Editor: by WordPress Contributors – 1.6 Elementor Pro: by Elementor.com – 3.2.2 Elementor: by Elementor.com – 3.2.3 GamiPress - LearnDash integration: by GamiPress – 1.3.2 LearnDash Content Cloner: by WisdmLabs – 1.0.1 Leadpages Connector: by Leadpages – 2.3.13 LearnDash LMS - Course Grid: by LearnDash – 1.7.0 LearnDash LMS - Notifications: by LearnDash – 1.5.2 LearnDash LMS - WooCommerce Integration: by LearnDash – 1.9.2 LearnDash LMS: by LearnDash – 3.1.5 Thanks Redirect for WooCommerce: by Nitin Prakash – 3.0 WooCommerce PayPal Payments: by WooCommerce – 1.7.0 WooCommerce: by Automattic – 6.2.2 (update to version 6.3.1 is available) ### Inactive Plugins (42) ### BackupBuddy: by iThemes – 5.2.0.0 bbPress: by The bbPress Contributors – 2.6.6 CartFlows: by CartFlows Inc – 1.6.13 Column Shortcodes: by Codepress – 1.0.1 Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd: by SeedProd – 6.2.2 Contact Form 7: by Takayuki Miyoshi – 5.4.1 Custom Sidebars: by WebFactory Ltd – 3.31 Embed Any Document: by Awsm Innovations – 2.6.1 FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.1.0 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.17.0 Google Doc Embedder: by Kevin Davis Dan Lester – 2.6.4 Intuitive Custom Post Order: by hijiri – 3.1.2.1 Jetpack by WordPress.com: by Automattic – 9.7.1 Kadence WooCommerce Email Designer: by Kadence WP – 1.4.8 LearnDash LMS - Paid Memberships Pro: by LearnDash – 1.3.1 LearnPlus Demo Content: by ThemeAlien – 1.0 LearnPlus Portfolio Management: by TrendingTemplates – 1.0 LearnPlus Visual Composer Addons: by TrendingTemplates – 1.1 MailPoet 2: by MailPoet – 2.14 Meta Box: by MetaBox.io – 5.3.5 Nginx Helper: by rtCamp – 2.2.2 PB Digital - Course Roadmap: by PB Digital – 1.0.0 Print Post and Page: by HTML5andBeyond – 1.62 Quick Page/Post Redirect Plugin: by anadnet – 5.2.1 Restrict Content: by Sandhills Development LLC – 2.2.4 Slider Revolution: by ThemePunch – 5.3.1.5 Starter Templates: by Brainstorm Force – 2.7.5 The Events Calendar: by Modern Tribe Inc. – 5.3.0 Theme My Login: by Theme My Login – 7.1.2 TT Team Management: by TrendingTemplates – 1.0.0 TT Testimonial: by TrendingTemplates – 1.0.0 Under Construction: by WebFactory Ltd – 3.83 Widget Importer & Exporter: by ChurchThemes.com – 1.6 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 WooCommerce Shipping & Tax: by Automattic – 1.25.4 (update to version 1.25.23 is available) WooCommerce Stripe Gateway: by WooCommerce – 6.2.0 WPAchievements: by Digital Builder – 2.01 WPBakery Page Builder: by Michael M - WPBakery.com – 5.6 WP Clone by WP Academy: by WP Academy – 2.2.10 WPForms Lite: by WPForms – 1.6.3.1 WP Mail SMTP: by WPForms – 3.3.0 YayMail - WooCommerce Email Customizer: by YayCommerce – 2.5.8 ### Settings ### API Enabled: ? Force SSL: ? Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: configurable (configurable) course (course) downloadable (downloadable) external (external) grouped (grouped) simple (simple) variable (variable) virtual (virtual) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #8742 - /shop/ Cart: #8743 - /cart/ Checkout: #8744 - /checkout/ My account: #8745 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Astra Version: 1.8.7 (update to version 3.7.9 is available) Author URL: https://wpastra.com/about/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: US WooCommerce currency supported: ? PayPal card processing available in country: ? Pay Later messaging available in country: ? Webhook status: – Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: ? ### Action Scheduler ### Complete: 123 Oldest: 2022-02-15 00:20:37 +0000 Newest: 2022-03-10 23:41:38 +0000 Pending: 3 Oldest: 2022-03-10 23:56:38 +0000 Newest: 2022-03-11 23:22:07 +0000 ### Status report information ### Generated at: 2022-03-10 23:47:02 +00:00
Hello,
Thanks for sending this information.
To clarify, I can see inactive plugins like WP Mail SMTP, and MailPoet when checking the system status report, you can create a test order to check the behavior of the emails. You can check the spam folder of the recipient email when testing.
You can perform a conflict test as explained previously. Here is the documentation for further reference.
If you would not like to make changes to your site because of the test, we recommend WP Staging for quickly spinning up a new test site.
Let us know how it goes.
Thanks. I will look into it. I did check the spam folder but didn’t find any emails there.
Ok. So here is the thing. Mail Poet and WPMailSMTP were never activated(or perhaps setup) previously but yet I was able to receive confirmation emails in my inbox before. I’m just trying to understand why it’s not working now.
Hi @driven72!
I understand your point.
Besides PayPal, did you update any other plugin(s)? Because there could be a conflict between the updates and a deprecated script or code interfering with WooCommerce’s email notifications.
To be sure and discard this, you can perform a conflict test by temporarily switching your theme back to Storefront, disabling all plugins except WooCommerce, and testing the purchase email notification process again. If that solves the issue, then re-enable all plugins one-by-one, until you find the one creating the conflict.
If you cannot perform a conflict test on your live site, we recommend creating a staging site using the WP Staging plugin.
You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.
Let us know how that goes for you!
So all my plugins are disabled with exception to Woocommerce and I changed the theme to storefront but did NOT deactivate my Elementor Pro plugin. Not sure if that is even going to make a difference because I never updated those plugins. Still….not working. Starting to get really fed up with this.
I just need to launch my course and there is always something that happens where I have to hold off right before launching. If people are not getting emails after they purchase, it’s a big problem. I look like a scammer! LOL!
So at this point, I have no idea what is happening. If I can use WPSMTP, then fine, perhaps that is the way to go but just baffled why this is not working. I don’t think I will get a “flood” of purchases at the start. Maybe 10. That is enough to not have to run an SMTP. I don’t know.
Any other suggestions?
I think an important step was skipped here. It’ll help to know if WooCommerce even initiates an email at all. Can you enable WP Mail Logging then make a test order or signup to see if emails are going out at all from the site?
I look forward to hearing from you.
Ok. I will give that a shot.
- The topic ‘Woocommerce auto email notifications not sending’ is closed to new replies.