My idea is to prove the series converges uniformly, then change the order of limit and summation so that $$\lim_{t\to\infty}\sum_{n=1}^{\infty}e^{-\pi tn^2} = \sum_{n=1}^{\infty}\lim_{t\to\infty}e^{-\pi tn^2} = 0$$
But I don't know how to prove the series converges uniformly. Is there any way to solve or is there a better approach?
Proving uniformly convergence is a good approach and is not hard to show: Note that for any $t \geq 1$ we always have $e^{-\pi tn^2} \leq e^{-\pi n^2}$ and thus $$ \sum_{k=m}^n e^{-\pi t n^2} \leq \sum_{k=m}^n e^{-\pi n^2}.$$ Choosing $n \geq N$ such that the last sum is $< \varepsilon$ for all $n >m \geq N$ gives uniformly convergence. (Note that the choice of $N$ is independent of $t \geq 1$.)