For cows with mastitis, the administration of melatonin reduced cortisol levels and upregulated levels of IgG, IgM, lymphocytes and neutrophils. The gene discussed is CD40LG; the disease is mastitis.