Scenario, I import 500 emails with foreign key, send the campaign, 60 bounce back,
my bounce rules = Add email address to the do-not-send list and delete bounce (not subscriber).
40 bounces are then corrected and returned to me for the next mailshot.
I can’t delete the 40 as they have already been sent a campaign.
I can update the email as they are based on a foreign key, but they remain blacklisted - despite the bounce ruling (as I understand it ?)
Is there a way I can update and un-blacklist these 40 subscribers other than on a case by case basis ?
(btw numbers above are for example purposes only )
I threw this together to try and help you un-blacklist many at once. STEP 1
Create a plain text file called unblacklist.txt.
Add all of the email addys to that file (one per row).
These are the addys that will be removed from the blacklist.
Copy the following code to a new file and save it as unblacklist.php.
Edit lines 2-6 to have the same values as your PHPList config file.
thanks VERY much Chris,
This is REALLY appreciated, I will test it as soon as I get back to work on Tuesday, and post the results back here, I’m pretty sure I won’t be the only one to find this useful.
Thanks a lot for sharing this!
I have used trying to reset the invite plugin https://github.com/phpList/phplist-plugin-invite
But it seems that I have to do something else (I can not send a new invitation to previously blacklisted->unblacklisted accounts… and moved to a “2nd invitation” list)
And I have no idea what to do now… lol
Today I tried it again and something went wrong… a lot of php warnings and browser hanged up…
As I have no to much programming knowledge the brute force way to solve it was to wipe out the php_user_blacklist & php_user_blacklist_data tables… /-:
PD: that did NOT solved it… users remains blacklisted… damn
Thanks Suela! yes, that should work… will try that way…
BTW, here the php error if someone knows what to change in the php codes up there…:
[25-Aug-2020 08:58:20 America/Chicago] PHP Warning: feof() expects parameter 1 to be resource, bool given in /home/username/public_html/unblacklist.php on line 14
[25-Aug-2020 08:58:20 America/Chicago] PHP Warning: fgets() expects parameter 1 to be resource, bool given in /home/username/public_html/unblacklist.php on line 15
30 seconds of it, generates an errorlog file of near 115mb lol…
Those lines seems to be: