Butter a 9x13 inch baking pan. Put 6 slices bread on bottom, layer cheese, ham, and cover with remaining 6 slices of bread. Brush lightly with some melted butter, pour the egg mixture over the top and refrigerate overnight.
Bake 1 hour and 15 minutes at 325° the next morning.