From the the Washington Post:
The resignation rocked the Capitol, and especially Foley’s GOP colleagues, as lawmakers were rushing to adjourn for at least six weeks. House Majority Leader John Boehner (R-Ohio) told The Washington Post last night that he had learned this spring of some “contact” between Foley and a 16-year-old page. Boehner said he told House Speaker J. Dennis Hastert (R-Ill.), and that Hastert assured him “we’re taking care of it.”
It was not immediately clear what actions Hastert took. His spokesman had said earlier that the speaker did not know of the sexually charged e-mails between Foley and the boy.
Josh Marshall has much more on this story.