We have to show that$\displaystyle\sum_{n=1}^\infty\frac{sin( nz)}{n}$ diverges if $Im\,(z)\neq0$
My try:$$\sin (nz) = \mathfrak{Im}(e^{nzi})$$
$$\sum_{n=1}^{\infty} \frac{\sin nz}{n} = \mathfrak{Im} \sum_{n=1}^{\infty} \frac{(e^{zi})^n}{n} = - \mathfrak{Im} \ln\left(1-e^{zi}\right). $$ Then how to proceed?
Let $z=x+iy$. Then, note that $\sin(nz)=\sin(nx)\cosh(ny)+i\cos(nx)\sinh(ny)$.
If $y\ne 0$, then the general term $a_n=\frac{\sin(nx)\cosh(ny)+i\cos(nx)\sinh(ny)}{n}$ of the series does not approach $0$ as $n\to \infty$.
Hence, the series diverges.