Natural immunity against diseases is conferred on the newly born animal through