[resolved] PROBLEM SOLVED: Woocommerce new order email not sending (8 posts)

  1. pablishe
    Posted 2 years ago #

    I am using woocommerce version 2.0.20

    This is a great plug in, but when a new order is requested the email notification is not sent.

    1. http://wordpress.org/plugins/wp-mail-smtp/
    2.Copy the file ../wp-content/plugins/woocommerce/classes/class-wc-emails.php to folder .../wp-content/plugins/woocommerce/classes/emails/

    Now The Email is send. PROBLEM SOLVED.

    Anyone know how I can report this to WooCommerce? They are going to release version 2.1 on Monday, February 10

    I hope that the issue is fixed,
    I hope I have been helpful. See you...


  2. Roy Ho
    Posted 2 years ago #

    This is not a WooCommerce issue. If your emails are not sending and using SMTP works, that means your server is not allowing PHP mail() function to work and thus need to use SMTP. It is a server side configuration issue.

  3. pablishe
    Posted 2 years ago #

    Roy, I did the test using SMTP and PHP mail () function. Both sent emails.

    The reason of the problem is that all classes into /wp-content/plugins/woocommerce/classes/emails/ extends from WC_Email class. For this reason the WC_Email class needs to be in the same folder or add an includo with correct path in each email classes.


  4. Roy Ho
    Posted 2 years ago #

    That is not how you stated in your comment. Your title says "Woocommerce new order email not sending". Then in your solution, you said "Now the Email is send." After you have installed SMTP.

    I am able to receive new order email just fine on my sites with the default PHP mail.

  5. pablishe
    Posted 2 years ago #

    Thanks for your additions Roy.

  6. Spireaci
    Posted 2 years ago #

    for me, it worked after setting the wp_mail_smtp plugin to PHP.
    Thanks a million, Roy!

  7. Subjetiva
    Posted 1 year ago #

    Thanks pablishe! You save my soul.

  8. pdevivo
    Posted 1 year ago #

    Similar problem here... except for woocommerce does send mail to one of the three recipients, but not to all. These addresses are typed in properly and separated by a comma.

    Why will it only send to one email? Doesnt matter whether it is first, second, or third in the field. The one that successfully receives is hosted on exchange. The ones that do not work: one is a godaddy email which shares the site's domain, the other is a yahoo address.

    So, MAIL IS SENDING... but not to who needs to receive it. ANY SUGGESTIONS?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic