Undisclosed Rec't throws errors.

When iterating through the headers and pulling all the recipients, if there are any BCC's the host and to are not set.

Therefore I have added couple of if statements to check if these are set.