Let X be an uncountable set with the cocountable topology, and let Y be the same set with the discrete topology. The identity function f from X to Y is discontinuous (the inverse image of an open set need not be open). But every convergent sequence in X is eventually constant, so if then