In evaluating this integral:
$$\int_0^\infty \frac{\Im{\left(e^{e^{ix}} \right)}}{x}\text{d}x$$
My means of evaluation was to expand the numerator of the integrand as a fourier series (a.k.a. Taylor series of $e^u$ where $u=e^{ix}$) and then exchange the order of integration and summation.
But what theorems can be used to justify this interchange?
The decay of the integrand is not fast enough for absolute convergence, so nothing in that direction looks promising.