This recipe is from The Fannie Farmer Cookbook by Marion Cunningham.
2 cups fresh grated or chopped corn kernels
2 eggs, slightly beaten
2 tablespoons butter, melted
2 cups hot milk
½ teaspoon salt
1/8 teaspoon freshly ground pepper
Preheat the oven to 350º F. Generously butter a 1½ quart casserole. Mix all ingredients together in a bowl. Pour into the casserole and place in a pan of hot water. Bake until firm, about 45 minutes.