How to send a custom email content for new WooCommerce users

WordPress Users & WooCommerce Customers Import Export allows you to export and import WooCommerce users from your store. In addition, it provides additional features to facilitate efficient import and export of users.

While importing, you are provided with an option to send email to new users. By enabling this option, a default mail will be sent to all the new imported users.

Import Users-Step 1
Import Users-Step 1

However, if you wish to send a custom mail to all the new users while importing, insert the below-given code snippet to the function.php file of the active child theme.

You will have to replace and insert your custom mail content in the ‘custom mail body’ position of the snippet. Therefore, the new mail content will be sent to new users while importing.

2 thoughts on “How to send a custom email content for new WooCommerce users

  1. CK MacLeod says:

    I can’t find an obvious entry on this subject, but the import seems to send or try to send a plain text welcome email by default… except it doesn’t even accept newline markers: It just sends one unbroken line of unqualified text, and doesn’t accept other customized characteristics of the email.

    • Alan
      Alan says:


      Using the code snippet from this documentation page you can modify the default WordPress email content that is sent to the users. If you are having any issues with using the code snippet then please brief us the same via support.

Leave a Reply

Your email address will not be published. Required fields are marked *