Undeclared  variable causing a warning and a 'Cannot modify headers' err...

...or when passing a BCC header