Sift together flour, baking powder, salt, and pepper in a large bowl.
Combine milk, corn, eggs, butter, and onion; mix well, and stir into dry ingredients.
Drop mixture by tablespoonfuls into deep hot oil (375°). Fry until golden brown, turning once. Drain on paper towels. Serve hot.