Toward the bottom of the code is this line:
$WA_MailObject = WAUE_SendMail($WA_MailObject,$MailAttachments,$Mai lBCC,$MailCC,$MailTo,$MailImportance,$MailFrom,$Ma ilSubject,$MailBody);
Add in this code just before this line:
die("the values for cc and bcc are: " . $MailCC . " and " . $Mai lBCC . "");
This should stop the mail from being sent and let you see the values that are being specified for the cc and bcc. If you can see the values here then it would indicate there may be a problem with the mail server allowing you to send the cc and bcc emails. If the values do not appear here then we will need to do a little more debugging to determine why the values are not being set. Please do this test and let us know what the results are.