We want to sincerely thank you for your interest in the [position] at [the company]. I was pleased to have the opportunity to become familiar with your background and credentials. I do regret to inform you that after thorough review of all the applicants that were reviewed, you have not been selected to move forward with this position. While you have an impressive background, the selected candidate brought the experience that we were searching for in addition to strong technical skills.
The Bearer of Bad News
I took a civil service exam this morning too. It was pretty easy, so we'll see what turns up.