Remove the empty lines of code around the code that I sent you. That will cause issues down the road with the redirect.
You get that error when trying to open the email server behavior... Because we have hand edited the code at this point, it won't be possible to use the Server Behavior to update the email any more. This error is because it doesn't understand the line of code that we added, because it doesn't support MySQLi and we are hard coding a solution to make it work.
The last update that I forgot to tell you is to update this line:
$rsMSQLiEmailList = new WA_MySQLi_RS("rsMSQLiEmailList",$cnnSQliClassDB,1);
$rsMSQLiEmailList = new WA_MySQLi_RS("rsMSQLiEmailList",$cnnSQliClassDB,0);
That will allow the recordset to return all of the rows it needs to.