Nodemailer - Works locally but not on production
<p><a href="https://gist.github.com/anonymous/ba82f74071cc38a0700b" rel="noreferrer">https://gist.github.com/anonymous/ba82f74071cc38a0700b</a></p>

<p>Before changing some settings, e.g. host and port, it was working fine locally, but just won't work on production.</p>

<p>Anyone know why?</p>

<p>Thanks</p>