Tips and Tricks HQ Support Portal › Forums › WP eMember › Disable Email Sent After Bulk Member Import
Tagged: bulk import
- This topic has 8 replies, 4 voices, and was last updated 10 years, 11 months ago by
jit50.
-
AuthorPosts
-
November 10, 2014 at 6:48 pm #11763
jit50
MemberI 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?
November 11, 2014 at 1:07 am #66703admin
KeymasterAfter 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
November 11, 2014 at 8:51 pm #66704jit50
MemberThat’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.
November 12, 2014 at 2:32 am #66705admin
KeymasterMy 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.
November 12, 2014 at 3:09 pm #66706jit50
MemberIs there any way to turn this feature off temporarily so that I can test my list?
November 12, 2014 at 3:22 pm #66707wzp
ModeratorWhy 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).
November 12, 2014 at 8:56 pm #66708gpashe
SpectatorI 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
November 12, 2014 at 9:18 pm #66709November 18, 2014 at 3:43 pm #66710jit50
MemberI 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.
-
AuthorPosts
- You must be logged in to reply to this topic.