- This topic has 8 replies, 4 voices, and was last updated 10 years ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Disable Email Sent After Bulk Member Import
Tagged: bulk import
I have a large list to import into a new site using WP eMember and the bulk importer. I want to test the import on a test site before importing into my production site. I’ve dummied up some unique fake email addresses for each member in my test import file. I know that normally after an import, eMember sends out an email to each member account with their username and temporary password. Obviously, I want to avoid this feature for my test. Is there a way to turn off the email feature after a bulk member import?
After you do the import using the following addon, it shouldn’t send any email:
https://www.tipsandtricks-hq.com/wordpress-membership/bulk-member-data-importer-addon-853
That’s odd, because it sends an email on my site! Specifically, it sends the “Forgot password” email. Maybe I’m using an older version of the bulk import tool. I’m using version 1.2.
My mistake, that addon does need to send the email with a random password after the import. When you are importing data from a CSV file, you don’t have their password so it creates any entry and then lets the user reset the password by sending that email. Otherwise, users won’t be able to log in after you create the account.
Is there any way to turn this feature off temporarily so that I can test my list?
Why not use example.com for all of the test emails? Because there is no MX record for the domain, your SMTP server will simply return bounce messages to the postmaster (you).
I had exactly the same issue. I got around this by commenting out a few lines of the file class.emember-bulk-import-member.php
Find the lines with wp_emember_generate_and_mail_password and comment them out – there are 3 instances
I found only one instance of wp_emember_generate_and_mail_password. I’m running version 1.2, and maybe they’ve made some changes. Anyway, I commented it our and it seems to have done the trick.