https://gist.github.com/anonymous/ba82f74071cc38a0700b
Before changing some settings, e.g. host and port, it was working fine locally, but just won't work on production.
Anyone know why?
Thanks
https://gist.github.com/anonymous/ba82f74071cc38a0700b
Before changing some settings, e.g. host and port, it was working fine locally, but just won't work on production.
Anyone know why?
Thanks
Disable Captcha temporarily so you can mail using new server,
https://accounts.google.com/b/0/displayunlockcaptcha
i think this is happening because of port number and your firewall at this port is not allowing you to send mail over this port(80) . try with 587 or 465 which are actually the standard port number for SMTP.
changed your code a bit