I have added your code to the mail.php file. I do not get an error, the main email is still being sent, but I do not get the bcc copy.
As this is all stemming from a problem with user credentials not matching - I know how to convert to the encrypted password (<?php echo(sha1("value")); ?>) but is there similar code that I can use to convert the encrypted value back the other way?