Monochromatic even cycles

We prove that any $r$-coloring of the edges of $K_m$ contains a monochromatic even cycle, where $m = 3r + 1$ if $r$ is odd and $m =3r$ if $r$ is even. We also prove that $K_{m−1}$ has an $r$-coloring without monochromatic even cycles.