real estate foreclosures

If a person is unable to sell his/her house, given today’s fragile real estate market, would the owner be able?

PUNNY POETRESS asked: to donate his/her home to charity rather than resort going to a foreclosure? If not, how does a foreclosure affect one’s credit rating/score?Natalie