Dear …
Thank you for submitting your resume for the position of __(name of position)__. We regret to inform you that the position has been filled by a candidate who more fully met the specific competencies.
We will keep your resume on file and contact you should a similar position in our organization become available.
Sincerely,