${\rm Hom}(\mathbb Z, \sum_{p\in P}\mathbb Z_p)$ and $\prod_{p\in P}{\rm Hom}(\mathbb Z, \mathbb Z_p)$ are not isomorphic where $P$ is the set of all primes.
I was checking the elements of each to see if they have finite order or infinite order. The direct product has elements of both finite order and infinite order. But this led me nowhere.
Any hint?