I was following this thread:
https://www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/201626/fpart/1
that end up diverging from his original problem, so I decided to post it again:

I do have a lot of bounced e-mails every time the ADMIN send messages to the board.
Then manually I have to:
Copy the bounced email
paste on 'Members Manegemant' under admin
search and select the member
click on the 'permissions' tab
change the status to BANNED, then check mark the 'Member is Banned?' check mark, choose 'Ban expires in' and select 'Permanent', them copy and past a text I have made so the user, if it ever logs back to the forum, can read and understand why he/she is banned and past it on the 'Ban Reason' field.
then save it.
It's a lot of manual work.
It is not taking 5 minutes, but about 30 to 45 seconds for each user.

I was wondering if we could have a script that would read a .txt file (I can create a .txt file from my bounced emails in just few seconds), and from this .txt file, update all the fields I mention before.
On this script we could have options to select a 'Group membership", a 'Ban reason', a 'ban expires' and 'member is banned' check marks/fiels and that would be I believe a very useful script.

I have no clue how to do it. Any member that has good PHP skills could show up and help on that?

Thank you smile