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