Can your attitude (a positive outlook, optimism, "fighting spirit" etc, or the converse) influence how well your immune system works? Most research that confirm mood correlating with immune system seem to show it for stress, which is a physiological change in you body, something completely different.
But being optimistic, in itself, could that possibly influence you immune system?
Example of the claim: LiveScience.com: Optimism Boosts Immune System. The usage of "boost" in combination with "immune system" is enough to raise some flags.