meanjs / generator-meanjs

MEAN.JS Official Yeoman Generator
http://meanjs.org/
473 stars 178 forks source link

forgot password / nodemailer doesnt work when deployed in heroku #235

Closed KartheekJavvaji closed 8 years ago

KartheekJavvaji commented 8 years ago

I have tried changing the service form gmail to outlook too. It works locally both in gulp and gulp prod. Should we change ALLOWED_HOSTS like thingy. I cannot find this option anywhere. Failed to load resource: the server responded with a status of 400 (Bad Request) is being loaded in the console. Do i need to change the .gitignore . I have also removed pubic/dist from the .gitignore.

KartheekJavvaji commented 8 years ago

I figured out the problem. It was with the nodemailer version. Just change the version in the package.json to 2.4.2 and it works just fine.

nidhalmesselmani commented 8 years ago

I did that, still doesn't work

KartheekJavvaji commented 8 years ago

Are you sure you upgraded the node mailer version?.... And check your mail once for mails regarding blocking access due to new location.