Every material allegation in a complaint, or relating to a setoff in an answer, not denied by the pleading of the adverse party, shall, on the trial, be taken to be true, except that when a defendant, who has not been served with a copy of the complaint, fails to appear and answer, the plaintiff cannot recover without proving his or her case.