I need the attached script to be modified because it doesnt work properly.
The script basically should delete all the email account by account on a server through a web browser by giving email pass and username.
I would need a modification with a database addons where all the users could add their email account for the accounts where they wants the emails cancellation and a cron addon that let the script run every x hours and cancel all the incoming email for the accounts in database.