The Simpsons - Season 3 Episode 16 Bart the Lover Putting the Fun back in Dysfunctional!
Overview: Bart's answer to detention from Mrs. Krabappel is to answer her personal ad with letters from a Mr. Wonderful, but his last laugh is more of a guilty whimper.